summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/megaraid_sas_base.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-07-06 21:33:46 +0900
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-08 01:01:30 -0400
commit7b3c1035082ce212bc635b85a57ab7e1b1e1afd5 (patch)
tree66935b958d57ffc9e38707dfe44f386da9e3b46f /drivers/scsi/megaraid/megaraid_sas_base.c
parent2b46e5c14218c7382aa3907fb78453d8e43d359e (diff)
downloadlinux-7b3c1035082ce212bc635b85a57ab7e1b1e1afd5.tar.gz
linux-7b3c1035082ce212bc635b85a57ab7e1b1e1afd5.tar.bz2
linux-7b3c1035082ce212bc635b85a57ab7e1b1e1afd5.zip
scsi: megaraid: Fix compilation warnings
Move function declarations to megaraid_sas.h to avoid warnings such as: warning: no previous prototype for ‘xxx' No functional changes. Link: https://lore.kernel.org/r/20200706123346.451827-1-damien.lemoal@wdc.com Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas_base.c')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_base.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 2fda0dca122a..8038467e446d 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -202,10 +202,6 @@ static bool support_pci_lane_margining;
static spinlock_t poll_aen_lock;
extern struct dentry *megasas_debugfs_root;
-extern void megasas_init_debugfs(void);
-extern void megasas_exit_debugfs(void);
-extern void megasas_setup_debugfs(struct megasas_instance *instance);
-extern void megasas_destroy_debugfs(struct megasas_instance *instance);
void
megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd,