]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/bnxt_re: Eliminate need for some forward declarations
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Wed, 11 Dec 2024 03:45:44 +0000 (19:45 -0800)
committerLeon Romanovsky <leon@kernel.org>
Mon, 16 Dec 2024 13:22:06 +0000 (08:22 -0500)
commit8aa3dd3e7659128c73fe9e41381e364db8c2e56c
tree67745f3ca0766051085944de001bd434ce4a4012
parent55992c386263f3899552118b2e3d142cd223eba4
RDMA/bnxt_re: Eliminate need for some forward declarations

Move the function definition of bnxt_re_shutdown() to avoid
forward declarartion of bnxt_re_dev_uninit().

Move the function definition of bnxt_re_setup_cc() before
bnxt_re_add_device() to avoid it's forward declarations.

Also, forward declarartions of bnxt_re_stop_irq() and
bnxt_re_dev_stop() are unnecessary.

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1733888745-30939-5-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/main.c