Commit ab4d6357 authored by Haowen Bai's avatar Haowen Bai Committed by Jakub Kicinski

net: thunderx: remove null check after call container_of()

container_of() will never return NULL, so remove useless code.
Signed-off-by: default avatarHaowen Bai <baihaowen@meizu.com>
Link: https://lore.kernel.org/r/1652696212-17516-1-git-send-email-baihaowen@meizu.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 76e1e5df
......@@ -2024,9 +2024,6 @@ static void nicvf_set_rx_mode_task(struct work_struct *work_arg)
u8 mode;
struct xcast_addr_list *mc;
if (!vf_work)
return;
/* Save message data locally to prevent them from
* being overwritten by next ndo_set_rx_mode call().
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment