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)
commit0ba8abb770a8771ffb05cce2a5a7441530f06a55
treecf367a99f6cf61499edc3e9d58bd7b4f927da59e
parent304f0a4edbbb2d273d7c6043df4126b623cd472c
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