scsi: qla2xxx: Use constant when it is known
authorPavel Machek (CIP) <pavel@denx.de>
Mon, 21 Sep 2020 11:23:40 +0000 (13:23 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 8 Oct 2020 03:50:03 +0000 (23:50 -0400)
commitb994718760fa6de431ee7504ca4553536c77ee43
tree87a4836175f811819c108c42b18f34fe6594b07e
parentffab5e016b9b3ffee02fbf1ad688b59a56cacd62
scsi: qla2xxx: Use constant when it is known

Directly return constant when it is known to make code easier to
understand.

Link: https://lore.kernel.org/r/20200921112340.GA19336@duo.ucw.cz
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Pavel Machek (CIP) <pavel@denx.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_nvme.c