projects
/
GitHub
/
moto-9609
/
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:
f8b1126
)
NVMe: Remove unused sq_head read in completion path
author
Jon Derrick
<jonathan.derrick@intel.com>
Tue, 8 Mar 2016 17:34:54 +0000
(10:34 -0700)
committer
Jens Axboe
<axboe@fb.com>
Tue, 8 Mar 2016 22:01:06 +0000
(15:01 -0700)
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/host/pci.c
b/drivers/nvme/host/pci.c
index 74514c7674290ee90255183d11a4c3b11c48ce7b..e9f18e1d73e59fb502e2116ac2e27f46e10e73c4 100644
(file)
--- a/
drivers/nvme/host/pci.c
+++ b/
drivers/nvme/host/pci.c
@@
-134,7
+134,6
@@
struct nvme_queue {
u32 __iomem *q_db;
u16 q_depth;
s16 cq_vector;
- u16 sq_head;
u16 sq_tail;
u16 cq_head;
u16 qid;
@@
-719,7
+718,6
@@
static void __nvme_process_cq(struct nvme_queue *nvmeq, unsigned int *tag)
if ((status & 1) != phase)
break;
- nvmeq->sq_head = le16_to_cpu(cqe.sq_head);
if (++head == nvmeq->q_depth) {
head = 0;
phase = !phase;