diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2020-07-06 21:33:46 +0900 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-07-08 01:01:30 -0400 |
commit | 7b3c1035082ce212bc635b85a57ab7e1b1e1afd5 (patch) | |
tree | 66935b958d57ffc9e38707dfe44f386da9e3b46f /drivers/scsi/megaraid/megaraid_sas_base.c | |
parent | 2b46e5c14218c7382aa3907fb78453d8e43d359e (diff) | |
download | linux-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.c | 4 |
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, |