Skip to content
Commit 0ba8abb7 authored by Markus Elfring's avatar Markus Elfring Committed by David S. Miller
Browse files

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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 304f0a4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment