[IPV4]: Remove bogus ifdef mess in arp_process
authorAdrian Bunk <bunk@kernel.org>
Mon, 26 Nov 2007 15:17:53 +0000 (23:17 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 26 Nov 2007 15:17:53 +0000 (23:17 +0800)
commit3660019e5f96fd9a8b7d4214a96523c0bf7b676d
tree71f6f3fdd539473f5c6d9230c77a9b36d741ec90
parent2d4baff8da06f424a6fca10e26434c4926a7c3df
[IPV4]: Remove bogus ifdef mess in arp_process

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>
net/ipv4/arp.c