]> git.itanic.dy.fi Git - linux-stable/commit
IPV4: Remove bogus ifdef mess in arp_process
authorAdrian Bunk <bunk@kernel.org>
Thu, 29 Nov 2007 12:07:57 +0000 (23:07 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Dec 2007 17:51:03 +0000 (09:51 -0800)
commita9a88eb292818f5ff9ba6c0fabc17fa663c6a278
tree37821488f1dadb01a15f025047dc0a3da94ed2fe
parentc2f1eef5597779c7111747f51aa9d76945a8cee0
IPV4: Remove bogus ifdef mess in arp_process

[IPV4]: Remove bogus ifdef mess in arp_process

[ Upstream commit: 3660019e5f96fd9a8b7d4214a96523c0bf7b676d ]

The #ifdef's in arp_process() were not only a mess, they were also wrong
in the CONFIG_NET_ETHERNET=n and (CONFIG_NETDEV_1000=y or
CONFIG_NETDEV_10000=y) cases.

Since they are not required this patch removes them.

Also removed are some #ifdef's around #include's that caused compile
errors after this change.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/arp.c