liquidio: remove duplicate code
authorSatanand Burla <satananda.burla@cavium.com>
Fri, 17 Mar 2017 17:50:05 +0000 (10:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 00:42:38 +0000 (17:42 -0700)
commit1f697ab109d60392f14c5e79eb6caf96805e68e9
tree967d9af6eeda35f3c3b0e18c114abfb0e9e926ee
parent03e1de503046b10864e3fb24e452d6974470b6f9
liquidio: remove duplicate code

Remove code duplicated in PF and VF; define that code once only in a common
header file included by PF and VF.

Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c
drivers/net/ethernet/cavium/liquidio/octeon_network.h