]> git.dujemihanovic.xyz Git - linux.git/commit
RDMA/bnxt_re: Remove the unused variable en_dev
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 18 Sep 2024 02:16:32 +0000 (10:16 +0800)
committerLeon Romanovsky <leon@kernel.org>
Sun, 22 Sep 2024 13:53:46 +0000 (16:53 +0300)
commit70920941923316b760bc7a804eb3d49a126d8712
tree8c5890f76a6acbdc707dc529c54e1d55527d9134
parent7acad3c442df6d5158c5b732a7a0ccf3a01d9b30
RDMA/bnxt_re: Remove the unused variable en_dev

Variable en_dev is not effectively used, so delete it.

drivers/infiniband/hw/bnxt_re/main.c:1980:22: warning: variable ‘en_dev’ set but not used.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=10867
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://patch.msgid.link/20240918021632.36091-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/main.c