diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-11-30 13:30:06 +0000 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2017-12-13 11:00:13 -0700 |
commit | 0cb65d421a2ad714d336e673d448184ea51bb66a (patch) | |
tree | 68cbfb1779037ae0148218a99a8df16a06f7ea22 /drivers/infiniband/hw/cxgb4/cm.c | |
parent | f8109d9e7de550a28d620144b0fe31e661e02bcb (diff) |
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: 1c8f1da5d851 ("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>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/cm.c')
0 files changed, 0 insertions, 0 deletions