scsi: mpt3sas: A small correction in _base_process_reply_queue
authorTomas Henzl <thenzl@redhat.com>
Fri, 11 Sep 2020 18:00:57 +0000 (20:00 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 15 Sep 2020 22:37:00 +0000 (18:37 -0400)
commit3d49f7426e6c4e9c41d0aa88f0a76616912a383e
tree9b4509cc773a0ddb76b0efe506b1d74959db7d5c
parent45181eab8ba79ed7a41b549f00500c0093828521
scsi: mpt3sas: A small correction in _base_process_reply_queue

There is no need to compute modulo. A simple comparison is good enough.

Link: https://lore.kernel.org/r/20200911180057.14633-1-thenzl@redhat.com
Acked-by: sreekanth reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c