scsi: fusion: mptctl: Use min() macro
authorYan Zhen <yanzhen@vivo.com>
Mon, 2 Sep 2024 01:33:03 +0000 (09:33 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Sep 2024 00:23:03 +0000 (20:23 -0400)
commite88ed594328900959f8aae72c2e6240703a91f33
tree728bfeec71d2c2f0e7b1957705ba3b58c027e3a0
parent45fad027df61f848fa9e036e8de6ba009cd1a134
scsi: fusion: mptctl: Use min() macro

Using the real macro is usually more intuitive and readable when the
original file is guaranteed to contain the minmax.h header file and compile
correctly.

Signed-off-by: Yan Zhen <yanzhen@vivo.com>
Link: https://lore.kernel.org/r/20240902013303.909316-1-yanzhen@vivo.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/message/fusion/mptctl.c