xdp: Remove redundant warning
authorYajun Deng <yajun.deng@linux.dev>
Wed, 27 Oct 2021 01:38:56 +0000 (09:38 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Oct 2021 01:13:57 +0000 (18:13 -0700)
commitb859a360d88d5ad239d46978c78fe2b63dd9efe5
tree669cf311148204e1178b0c288a3f0b51bbeee47a
parent5a48585d7ec1d0e1e83539d56846c1e513ef66ea
xdp: Remove redundant warning

There is a warning in xdp_rxq_info_unreg_mem_model() when reg_state isn't
equal to REG_STATE_REGISTERED, so the warning in xdp_rxq_info_unreg() is
redundant.

Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Link: https://lore.kernel.org/r/20211027013856.1866-1-yajun.deng@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/xdp.c