]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scsi: mptfusion: Remove #ifndef __GENKSYMS__ / #endif
authorBart Van Assche <bvanassche@acm.org>
Mon, 30 Sep 2024 20:13:47 +0000 (13:13 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 4 Oct 2024 02:00:08 +0000 (22:00 -0400)
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.

Cc: Sathya Prakash <sathya.prakash@broadcom.com>
Cc: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Cc: Suganath Prabu Subramani <suganath-prabu.subramani@broadcom.com>
Cc: MPT-FusionLinux.pdl@broadcom.com
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240930201347.1837690-1-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/message/fusion/mptlan.h

index a1ec7e84d6fe4f9eebfd7735506ea8ca8dc67628..40b34f670065cb9a7fd77a7fdf21e25e210e417f 100644 (file)
 #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>