scsi: mptfusion: Remove #ifndef __GENKSYMS__ / #endif
Subsystems (2)
PATCH 1/1 scsi: mptfusion: Remove #ifndef __GENKSYMS__ / #endif
Except for preventing build errors, there shouldn't be any conditionals in kernel drivers on __GENKSYMS__. Hence remove an #ifndef __GENKSYMS__ / #endif pair from the MPT Fusion driver.
--- drivers/message/fusion/mptlan.h | 3 --- 1 file changed, 3 deletions(-)
drivers/message/fusion/mptlan.h +0 -3
@@ -51,10 +51,7 @@#define LINUX_MPTLAN_H_INCLUDED /*****************************************************************************/ -#if !defined(__GENKSYMS__)#include <linux/module.h> -#endif -#include <linux/netdevice.h> #include <linux/errno.h> // #include <linux/etherdevice.h>
Martin K. Petersen
AppliedBart,
Quoted 3 lines
Except for preventing build errors, there shouldn't be any conditionals in kernel drivers on
__GENKSYMS__. Hence remove an #ifndef__GENKSYMS__/ #endif pair from the MPT Fusion driver.
Applied to 6.13/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Martin K. Petersen
AppliedQuoted 5 lines · Bart Van Assche
Except for preventing build errors, there shouldn't be any conditionals in kernel drivers on
__GENKSYMS__. Hence remove an #ifndef__GENKSYMS__/ #endif pair from the MPT Fusion driver.
Applied to 6.13/scsi-queue, thanks!
[1/1] scsi: mptfusion: Remove #ifndef __GENKSYMS__ / #endif
https://git.kernel.org/mkp/scsi/c/09822c231ae6
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering