mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
nvmet-fc: eliminate incorrect static markers on local variables
There were 2 statics introduced that were bogus. Removed the static designations. Signed-off-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
This commit is contained in:
parent
16a5a480f0
commit
369157b41c
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue