Skip to content

Commit

Permalink
nvmet-fc: eliminate incorrect static markers on local variables
Browse files Browse the repository at this point in the history
There were 2 statics introduced that were bogus. Removed the static
designations.

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
James Smart authored and Christoph Hellwig committed Aug 17, 2017
1 parent 16a5a48 commit 369157b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/nvme/target/fc.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ nvmet_fc_free_ls_iodlist(struct nvmet_fc_tgtport *tgtport)
static struct nvmet_fc_ls_iod *
nvmet_fc_alloc_ls_iod(struct nvmet_fc_tgtport *tgtport)
{
static struct nvmet_fc_ls_iod *iod;
struct nvmet_fc_ls_iod *iod;
unsigned long flags;

spin_lock_irqsave(&tgtport->lock, flags);
Expand Down Expand Up @@ -471,7 +471,7 @@ nvmet_fc_destroy_fcp_iodlist(struct nvmet_fc_tgtport *tgtport,
static struct nvmet_fc_fcp_iod *
nvmet_fc_alloc_fcp_iod(struct nvmet_fc_tgt_queue *queue)
{
static struct nvmet_fc_fcp_iod *fod;
struct nvmet_fc_fcp_iod *fod;

lockdep_assert_held(&queue->qlock);

Expand Down

0 comments on commit 369157b

Please sign in to comment.