diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-11-12 00:11:51 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-20 03:11:04 -0500 |
commit | ed8b9e7f1827ebae902e868866438d1bcdbef0a2 (patch) | |
tree | 1af713fe0ea8468cfad9c0b502f540271ce0abe7 /drivers/scsi/t128.c | |
parent | 48f16c9bef8ee6b699ab8e7c5c55920ddd1c7e8f (diff) |
ncr5380: Remove useless prototypes
Add missing static qualifiers and remove the now pointless prototypes. The
NCR5380_* prototypes are all declared in NCR5380.h and renamed using macros.
Further declarations are redundant (some are completely unused). Remove
them.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/t128.c')
-rw-r--r-- | drivers/scsi/t128.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/t128.c b/drivers/scsi/t128.c index e5acd9eb3148..ccfdc427c4c7 100644 --- a/drivers/scsi/t128.c +++ b/drivers/scsi/t128.c | |||
@@ -193,7 +193,8 @@ __setup("t128=", t128_setup); | |||
193 | * | 193 | * |
194 | */ | 194 | */ |
195 | 195 | ||
196 | int __init t128_detect(struct scsi_host_template * tpnt){ | 196 | static int __init t128_detect(struct scsi_host_template *tpnt) |
197 | { | ||
197 | static int current_override = 0, current_base = 0; | 198 | static int current_override = 0, current_base = 0; |
198 | struct Scsi_Host *instance; | 199 | struct Scsi_Host *instance; |
199 | unsigned long base; | 200 | unsigned long base; |
@@ -325,8 +326,8 @@ static int t128_release(struct Scsi_Host *shost) | |||
325 | * and matching the H_C_S coordinates to what DOS uses. | 326 | * and matching the H_C_S coordinates to what DOS uses. |
326 | */ | 327 | */ |
327 | 328 | ||
328 | int t128_biosparam(struct scsi_device *sdev, struct block_device *bdev, | 329 | static int t128_biosparam(struct scsi_device *sdev, struct block_device *bdev, |
329 | sector_t capacity, int * ip) | 330 | sector_t capacity, int *ip) |
330 | { | 331 | { |
331 | ip[0] = 64; | 332 | ip[0] = 64; |
332 | ip[1] = 32; | 333 | ip[1] = 32; |