Commit 8e840158 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] scsi/imm.c cleanup and fixes (1/8)

	* imm.c fed through Lindent, functions unused elsewhere (by now -
	  all of them) made static.
parent 0968e60c
This diff is collapsed.
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
*/ */
/* ------ END OF USER CONFIGURABLE PARAMETERS ----- */ /* ------ END OF USER CONFIGURABLE PARAMETERS ----- */
#ifdef IMM_CODE
#include <linux/config.h> #include <linux/config.h>
#include <linux/stddef.h> #include <linux/stddef.h>
#include <linux/module.h> #include <linux/module.h>
...@@ -150,18 +149,12 @@ static int imm_init(int); ...@@ -150,18 +149,12 @@ static int imm_init(int);
static void imm_interrupt(void *); static void imm_interrupt(void *);
static int imm_out(int, char *, int); static int imm_out(int, char *, int);
#else static int imm_detect(Scsi_Host_Template *);
#define imm_release 0 static int imm_queuecommand(Scsi_Cmnd *, void (*done) (Scsi_Cmnd *));
#endif static int imm_abort(Scsi_Cmnd *);
static int imm_reset(Scsi_Cmnd *);
int imm_detect(Scsi_Host_Template *); static int imm_proc_info(struct Scsi_Host *, char *, char **, off_t, int, int);
const char *imm_info(struct Scsi_Host *); static int imm_biosparam(struct scsi_device *, struct block_device *,
int imm_command(Scsi_Cmnd *);
int imm_queuecommand(Scsi_Cmnd *, void (*done) (Scsi_Cmnd *));
int imm_abort(Scsi_Cmnd *);
int imm_reset(Scsi_Cmnd *);
int imm_proc_info(struct Scsi_Host *, char *, char **, off_t, int, int);
int imm_biosparam(struct scsi_device *, struct block_device *,
sector_t, int *); sector_t, int *);
#endif /* _IMM_H */ #endif /* _IMM_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment