net/i40e: remove empty queue stats mapping set devops
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 28 May 2019 19:43:18 +0000 (12:43 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 20 Jun 2019 21:42:04 +0000 (23:42 +0200)
commitfe1d9ecb304e3e869acbbac00bc855fd25751b1b
tree76c4c39b9cf558c8e5e00f3d8d944c7d37bc7fb4
parent448fab12fbd4892721b5e199cf48a2079bacbe5c
net/i40e: remove empty queue stats mapping set devops

This driver was inserting its own stub for queue_stats_mapping which
did nothing but cause this device to return a different errno
than every other device driver.  All devices that don't implement
queue stats mapping should return the same error.

Maybe the plan originally was to implement something, if that
ever happens, just put in the right code.

Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/i40e/i40e_ethdev.c