]> git.baikalelectronics.ru Git - kernel.git/commit
net: Fix p3_gelic_net sparse warnings
authorGeoff Levand <geoff@infradead.org>
Fri, 22 Mar 2013 00:06:59 +0000 (17:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Mar 2013 14:21:46 +0000 (10:21 -0400)
commitf41826b3ff952324c06fd1374984fc3630c5e797
treeb5cb7c72f54c8e6cc7c7073a1ae5c829eae9dd32
parentf48bc682fe9d6ac99b262919e6bf3fc0bc34ea30
net: Fix p3_gelic_net sparse warnings

Rearrange routines to avoid local declarations and remove
unnecessary inline tags.  No functional changes.

Fixes sparse warnings like these:

  ps3_gelic_net.c: error: marked inline, but without a definition

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/toshiba/ps3_gelic_net.c