summaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2024-09-30 13:13:47 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2024-10-03 22:00:08 -0400
commit09822c231ae69e4ebc686ebe8b8cad02bcafea54 (patch)
tree6a72f3b7e56da6a32e9f569eed1cba41c025ab65 /drivers/message
parent0b1e535598d576e0727b2028a4e4e69f3e46596a (diff)
downloadlinux-09822c231ae69e4ebc686ebe8b8cad02bcafea54.tar.gz
linux-09822c231ae69e4ebc686ebe8b8cad02bcafea54.tar.bz2
linux-09822c231ae69e4ebc686ebe8b8cad02bcafea54.zip
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. 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>
Diffstat (limited to 'drivers/message')
-rw-r--r--drivers/message/fusion/mptlan.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/message/fusion/mptlan.h b/drivers/message/fusion/mptlan.h
index a1ec7e84d6fe..40b34f670065 100644
--- a/drivers/message/fusion/mptlan.h
+++ b/drivers/message/fusion/mptlan.h
@@ -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>