]> git.baikalelectronics.ru Git - kernel.git/commit
ATM-nicstar: Refactor a dev_alloc_skb() call in dequeue_rx()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 10 Sep 2016 06:56:03 +0000 (08:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Sep 2016 04:45:25 +0000 (21:45 -0700)
commitd0c0bab174ffc56ff529359041cd10121d21af62
treecf367a99f6cf61499edc3e9d58bd7b4f927da59e
parent958698dc6993ad6318b00a1ea76ec5290f81cea4
ATM-nicstar: Refactor a dev_alloc_skb() call in dequeue_rx()

The script "checkpatch.pl" can point out that assignments should usually
not be performed within condition checks.
Thus move an assignment for a local variable to a separate statement
in this function.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/nicstar.c