summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-04-26 14:34:25 -0700
committerDavid S. Miller <davem@davemloft.net>2018-04-27 14:46:26 -0400
commitc347b9273c26453fa8c9e1acb92f45546d888745 (patch)
tree4d8d3ad027b65794c0628435510f083b1200b4e8 /drivers/net/ethernet/broadcom/bnxt/bnxt.c
parent4422cc0d5b58fb1c1a7a1cbf630c2781459c76f8 (diff)
hv_netvsc: simplify receive side calling arguments
The calls up from the napi poll reading the receive ring had many places where an argument was being recreated. I.e the caller already had the value and wasn't passing it, then the callee would use known relationship to determine the same value. Simpler and faster to just pass arguments needed. Also, add const in a couple places where message is being only read. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt.c')
0 files changed, 0 insertions, 0 deletions