]> git.baikalelectronics.ru Git - kernel.git/commit
defxx: Fix !DYNAMIC_BUFFERS compilation warnings
authorMaciej W. Rozycki <macro@linux-mips.org>
Sun, 29 Jun 2014 01:09:19 +0000 (02:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jul 2014 01:26:29 +0000 (18:26 -0700)
commit4ad121899a3a11947d6f137d9814b6341739a5ba
tree9ecd1f2c4df355436ffef4d0c5520229bd77c858
parentdd88f7bd64653473752c106a552bd143a6282fca
defxx: Fix !DYNAMIC_BUFFERS compilation warnings

This fixes compilation warnings:

drivers/net/fddi/defxx.c:294: warning: 'dfx_rcv_flush' declared inline after being called
drivers/net/fddi/defxx.c:294: warning: previous declaration of 'dfx_rcv_flush' was here
drivers/net/fddi/defxx.c:2854: warning: 'my_skb_align' defined but not used

triggered when the driver is built with DYNAMIC_BUFFERS undefined.  Code
tested to work just fine with these changes and a few DEFPA and DEFTA
boards.

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