diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 06:05:03 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-07 03:42:51 +0100 |
commit | d5f7e65df0d41982b1e9cbba9df04003ebb2178d (patch) | |
tree | c520d1db58ff7604b31064bf4fef18e0b04c6455 /drivers/scsi/pas16.c | |
parent | atari_scsi: Fix SCSI host ID setting (diff) | |
download | linux-d5f7e65df0d41982b1e9cbba9df04003ebb2178d.tar.xz linux-d5f7e65df0d41982b1e9cbba9df04003ebb2178d.zip |
ncr5380: Remove redundant static variable initializers
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pas16.c')
-rw-r--r-- | drivers/scsi/pas16.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/pas16.c b/drivers/scsi/pas16.c index e81eadd08afc..1549bc97777e 100644 --- a/drivers/scsi/pas16.c +++ b/drivers/scsi/pas16.c @@ -87,8 +87,8 @@ #include "NCR5380.h" -static unsigned short pas16_addr = 0; -static int pas16_irq = 0; +static unsigned short pas16_addr; +static int pas16_irq; static const int scsi_irq_translate[] = @@ -305,7 +305,7 @@ static int __init static int __init pas16_setup(char *str) { - static int commandline_current = 0; + static int commandline_current; int i; int ints[10]; @@ -344,8 +344,8 @@ __setup("pas16=", pas16_setup); static int __init pas16_detect(struct scsi_host_template *tpnt) { - static int current_override = 0; - static unsigned short current_base = 0; + static int current_override; + static unsigned short current_base; struct Scsi_Host *instance; unsigned short io_port; int count; |