summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
diff options
context:
space:
mode:
authorYajun Deng <yajun.deng@linux.dev>2021-12-17 12:25:45 +0300
committerDavid S. Miller <davem@davemloft.net>2021-12-18 15:35:49 +0300
commitf85b244ee395c774a0039c176f46fc0d3747a0ae (patch)
tree556a42c4754b29b988b23b9823a10a86d2b47ef5 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
parent23044d77d6062ad1a5e26466931a7b75deaddbd7 (diff)
downloadlinux-f85b244ee395c774a0039c176f46fc0d3747a0ae.tar.xz
xdp: move the if dev statements to the first
The xdp_rxq_info_unreg() called by xdp_rxq_info_reg() is meaningless when dev is NULL, so move the if dev statements to the first. Signed-off-by: Yajun Deng <yajun.deng@linux.dev> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h')
0 files changed, 0 insertions, 0 deletions