From 5133bf5d27a044707394d436f0caa8442028881b Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Sat, 16 Apr 2022 23:25:07 -0700 Subject: [PATCH] modules/mqnic: Clear board_ops after deinit Signed-off-by: Alex Forencich --- modules/mqnic/mqnic_board.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mqnic/mqnic_board.c b/modules/mqnic/mqnic_board.c index df62150cd..d7892e570 100644 --- a/modules/mqnic/mqnic_board.c +++ b/modules/mqnic/mqnic_board.c @@ -888,4 +888,5 @@ void mqnic_board_deinit(struct mqnic_dev *mqnic) return; mqnic->board_ops->deinit(mqnic); + mqnic->board_ops = NULL; }