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)
commit1b037474d0c0b5ceb65bc809e3d8ac4497ee041b
tree9ecd1f2c4df355436ffef4d0c5520229bd77c858
parentf46d53d0e9151ea9553361d2bf044ba555350e5f
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