Skip to content

Commit

Permalink
nvmet-rdma: declare local symbols static
Browse files Browse the repository at this point in the history
This patch avoids that sparse complains about missing declarations.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Bart Van Assche authored and Christoph Hellwig committed Oct 17, 2018
1 parent 5eadc9c commit 0d3ebde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nvme/target/rdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ struct nvmet_rdma_device {
int inline_page_count;
};

struct workqueue_struct *nvmet_rdma_delete_wq;
static struct workqueue_struct *nvmet_rdma_delete_wq;
static bool nvmet_rdma_use_srq;
module_param_named(use_srq, nvmet_rdma_use_srq, bool, 0444);
MODULE_PARM_DESC(use_srq, "Use shared receive queue.");
Expand Down

0 comments on commit 0d3ebde

Please sign in to comment.