qlcnic: Fix Compilation Issue when CONFIG_INET was not set
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>
Thu, 3 Jun 2010 07:50:56 +0000 (07:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jun 2010 03:03:45 +0000 (20:03 -0700)
commit87eb743b943a472eb90ac2cbf7f4a132773de77f
tree387f7f62cd73d0b2a72fac1b906c7808ae5788e8
parentc6d409cfd0fd41e7a0847875e4338ad648c9b96b
qlcnic: Fix Compilation Issue when CONFIG_INET was not set

Original code was placed incorrectly inside a block of code marked
with CONFIG_INET directive. Fix by moving it outside.

Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Tested-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_main.c