liquidio: Removed duplicate Tx queue status check
authorIntiyaz Basha <intiyaz.basha@cavium.com>
Mon, 26 Mar 2018 20:40:27 +0000 (13:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Mar 2018 15:03:04 +0000 (11:03 -0400)
commit4171ec060073e1789cb868f43585983c69ff767b
tree162f8b6a09193dee41383de6b2a0290b6d6d65f8
parente32ac25018558f7bcab387708187ab5aa2733cf8
liquidio: Removed duplicate Tx queue status check

Napi is checking Tx queue status and waking the Tx queue if required.
Same operation is being done while freeing every Tx buffer.
So removed the duplicate operation of checking Tx queue status from the Tx
buffer free functions.

Signed-off-by: Intiyaz Basha <intiyaz.basha@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