NVMe: Mark CMD_CTX_CANCELLED as being unlikely
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c
index af45e28..ce919b4 100644
--- a/drivers/block/nvme.c
+++ b/drivers/block/nvme.c
@@ -518,7 +518,7 @@
struct nvme_completion *cqe)
{
struct sync_cmd_info *cmdinfo = ctx;
- if ((unsigned long)cmdinfo == CMD_CTX_CANCELLED)
+ if (unlikely((unsigned long)cmdinfo == CMD_CTX_CANCELLED))
return;
if (unlikely((unsigned long)cmdinfo == CMD_CTX_COMPLETED)) {
dev_warn(nvmeq->q_dmadev,