datapath: Remove net_device_ops compatibility code.
authorJesse Gross <jesse@nicira.com>
Fri, 13 Sep 2013 21:16:35 +0000 (14:16 -0700)
committerJesse Gross <jesse@nicira.com>
Wed, 18 Sep 2013 04:08:40 +0000 (21:08 -0700)
commitb0328609497580e88e65bfe15a7789173be17842
tree51f99262dc2c4c349e01a17f5d897efa69110087
parent12d364973a97c36b93f6d6e88f49a99e096d82e4
datapath: Remove net_device_ops compatibility code.

The symbol HAVE_NET_DEVICE_OPS was changed in 3.1 but code the that
it was protecting dates back to before 2.6.32. Therefore, we can
just assume that net_device_ops exists in all cases and drop the
compat code.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/vport-internal_dev.c