]> 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)
commit0e8d8ee02fbd55296a45122f64c1add6365344ad
treecf367a99f6cf61499edc3e9d58bd7b4f927da59e
parent644a39a6c55eee1f23bf9ec9f1952e1eb65b6e60
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