liquidio: simplify octeon_flush_iq()
authorDerek Chickles <derek.chickles@cavium.com>
Sat, 7 Jan 2017 01:16:12 +0000 (17:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Jan 2017 22:13:14 +0000 (17:13 -0500)
commit60889869147e3dcd62032005a85eb7693bf828d8
tree497dff707be13c6bc691fb28c4d866a8d3f27d03
parent111427f6eb5a5d9ce22f8a90780ac1c18113091a
liquidio: simplify octeon_flush_iq()

Because every call to octeon_flush_iq() has a hardcoded 1 for the
pending_thresh argument, simplify that function by removing that argument.
This avoids one atomic read as well.

Signed-off-by: Derek Chickles <derek.chickles@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: Satanand Burla <satananda.burla@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_iq.h
drivers/net/ethernet/cavium/liquidio/request_manager.c