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:06:37 +0000 (21:06 -0700)
commitefa0521ca6a52d597e77f58cc97531de4e3418f7
treeca251f1dd21b90ddc74196676cb2b35e7a8acdbf
parentb826639572ab3ef1ca2a0b1251b7980696a25c5b
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