]> 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)
commit4ad855be3ff2552bba2fa5f7b7efc066fe955ba2
treeb9061369d81d455847276f30177353cb0eafea0b
parent0ca87270a7ffc700d53f6d2a52b9066473c2f145
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