qcacld-3.0: Fix Datapath kernel checkpatch warnings in ol_txrx_event.c

Fix Datapath kernel checkpatch warnings in ol_txrx_event.c

Change-Id: Id116f007d12eebf8e207bc1ff89de8d3e27ec65c
CRs-Fixed: 2032874
This commit is contained in:
Yun Park 2017-04-05 12:20:50 -07:00 • committed by snandini
commit e459ea9fe5

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
* Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@ -44,6 +44,7 @@ static inline void
wdi_event_del_subs(wdi_event_subscribe *wdi_sub, int event_index)
{
wdi_event_notify deallocate_sub;
while (wdi_sub) {
wdi_event_subscribe *next = wdi_event_next_sub(wdi_sub);
/*
@ -201,6 +202,7 @@ A_STATUS wdi_event_detach(struct ol_txrx_pdev_t *txrx_pdev)
{
int i;
wdi_event_subscribe *wdi_sub;
if (!txrx_pdev) {
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
"Invalid device in %s\nWDI detach failed",