]> git.baikalelectronics.ru Git - kernel.git/commit
netxen: deinline and sparse fix
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 5 Jul 2007 23:13:55 +0000 (16:13 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 10 Jul 2007 16:41:09 +0000 (12:41 -0400)
commitc87e4b46a51392644ea4e7d48e67aa73e777ca83
tree9bdc38cc8a22f431510a844291d18bcba578bd3a
parentd7767d7b8f09ac7b4c75362e1e6444c7bb54c0cd
netxen: deinline and sparse fix

Get rid of dubious casts to (void *) which causes a sparse warning.
And move largeish function from inline to the one file that uses the code,
the compiler can then decide to inline it.

Compile tested only.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/netxen/netxen_nic.h
drivers/net/netxen/netxen_nic_main.c