Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bart Van Assche and committed by
Martin K. Petersen
09822c23 0b1e5355

-3
-3
drivers/message/fusion/mptlan.h
··· 51 51 #define LINUX_MPTLAN_H_INCLUDED 52 52 /*****************************************************************************/ 53 53 54 - #if !defined(__GENKSYMS__) 55 54 #include <linux/module.h> 56 - #endif 57 - 58 55 #include <linux/netdevice.h> 59 56 #include <linux/errno.h> 60 57 // #include <linux/etherdevice.h>