Make use of duplex definitions from net/eth.h. Signed-off-by: Jason Baron <jba...@akamai.com> Cc: "Michael S. Tsirkin" <m...@redhat.com> Cc: Jason Wang <jasow...@redhat.com> Cc: Jiri Pirko <j...@resnulli.us> Cc: virtio-...@lists.oasis-open.org --- hw/net/rocker/rocker_fp.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/hw/net/rocker/rocker_fp.c b/hw/net/rocker/rocker_fp.c index 4b3c984..13a14a0 100644 --- a/hw/net/rocker/rocker_fp.c +++ b/hw/net/rocker/rocker_fp.c @@ -16,17 +16,13 @@ #include "qemu/osdep.h" #include "net/clients.h" +#include "net/eth.h" #include "rocker.h" #include "rocker_hw.h" #include "rocker_fp.h" #include "rocker_world.h" -enum duplex { - DUPLEX_HALF = 0, - DUPLEX_FULL -}; - struct fp_port { Rocker *r; World *world; -- 2.7.4