]> git.baikalelectronics.ru Git - kernel.git/commit
iw_cxgb4: make pointer reg_workq static
authorColin Ian King <colin.king@canonical.com>
Thu, 30 Nov 2017 13:30:06 +0000 (13:30 +0000)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 13 Dec 2017 18:00:13 +0000 (11:00 -0700)
commitb8944d0c1300de6131b6bc79a95d8fcdb3a25dcc
tree68cbfb1779037ae0148218a99a8df16a06f7ea22
parentaad5f6ae424b0fdca595a7f12742fb5085cc62f7
iw_cxgb4: make pointer reg_workq static

The pointer reg_workq is local to the source and does not need to be
in global scope, so make it static.

Cleans up sparse warning:
drivers/infiniband/hw/cxgb4/device.c:69:25: warning: symbol 'reg_workq'
was not declared. Should it be static?

Fixes: 035e85e77d63 ("iw_cxgb4: Fix possible circular dependency locking warning")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/device.c