diff --git a/scst/include/backport.h b/scst/include/backport.h index bf6f74f20..39a9d03a6 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -1750,15 +1750,13 @@ enum { #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) && \ - (!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 7) + !defined(FC_PORTSPEED_64GBIT) /* * See also commit cc019a5a3b58 ("scsi: scsi_transport_fc: fix typos on 64/128 * GBit define names") # v4.16. */ -#ifndef FC_PORTSPEED_64GBIT #define FC_PORTSPEED_64GBIT 0x1000 #endif -#endif #ifndef FC_PORT_ROLE_UNKNOWN #define FC_PORT_ROLE_UNKNOWN 0x00