]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2e1edf4631e53c0e0ebef2802d16b8382c5c8245
tree71f6f3fdd539473f5c6d9230c77a9b36d741ec90
parent0c3a771688e126396f8841736c51011a3d8f29e8
[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