projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87ad72a
)
nvme-loop: get rid of unused controller lock
author
Sagi Grimberg
<sagi@grimberg.me>
Thu, 4 May 2017 10:33:05 +0000
(13:33 +0300)
committer
Christoph Hellwig
<hch@lst.de>
Thu, 15 Jun 2017 12:28:14 +0000
(14:28 +0200)
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/loop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/target/loop.c
b/drivers/nvme/target/loop.c
index db8ebadf885b9d8f139bd44d4b4f641028f569bc..1f5bd3cd50411e45499d9e04c4d212c03d910a3c 100644
(file)
--- a/
drivers/nvme/target/loop.c
+++ b/
drivers/nvme/target/loop.c
@@
-45,7
+45,6
@@
struct nvme_loop_iod {
};
struct nvme_loop_ctrl {
- spinlock_t lock;
struct nvme_loop_queue *queues;
u32 queue_count;
@@
-635,8
+634,6
@@
static struct nvme_ctrl *nvme_loop_create_ctrl(struct device *dev,
if (ret)
goto out_put_ctrl;
- spin_lock_init(&ctrl->lock);
-
ret = -ENOMEM;
ctrl->ctrl.sqsize = opts->queue_size - 1;