staging: wlags49_h2: Do not use assignment in if condition
Fix the following checkpatch.pl issue in wl_netdev.c: ERROR: do not use assignment in if condition Signed-off-by: Jelena Bjelja <jelena.bjelja.ing@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
877ba1eff2
commit
0d0560e25b
|
@ -1819,7 +1819,8 @@ int wl_rx_dma(struct net_device *dev)
|
|||
|
||||
DBG_PARAM(DbgInfo, "dev", "%s (0x%p)", dev->name, dev);
|
||||
|
||||
if (((lp = dev->priv) != NULL) && !(lp->flags & WVLAN2_UIL_BUSY)) {
|
||||
lp = dev->priv;
|
||||
if ((lp != NULL) && !(lp->flags & WVLAN2_UIL_BUSY)) {
|
||||
|
||||
#ifdef USE_RTS
|
||||
if (lp->useRTS == 1) {
|
||||
|
|
Loading…
Reference in New Issue