]> git.baikalelectronics.ru Git - kernel.git/commit
FDDI: defza: Move SMT Tx data buffer declaration next to its skb
authorMaciej W. Rozycki <macro@linux-mips.org>
Wed, 7 Nov 2018 12:07:05 +0000 (12:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Nov 2018 05:53:31 +0000 (21:53 -0800)
commit578207fe368b798d8429c96a47001a0001488674
treeb9061369d81d455847276f30177353cb0eafea0b
parent85a318543cefd1b1aa65ced17a84ca134ed283b7
FDDI: defza: Move SMT Tx data buffer declaration next to its skb

Move the temporary data buffer used when tapping into the SMT Tx queue
from the outer function level into the conditional block it's actually
used in and its containing skb is also declared, making the structure of
code better.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fddi/defza.c