mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
f85b244ee3
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>