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>
Este cometimento está contido em:

cometido por
Christoph Hellwig

ascendente
48f16c9bef
cometimento
ed8b9e7f18
@@ -382,7 +382,7 @@ __setup("pas16=", pas16_setup);
|
||||
*
|
||||
*/
|
||||
|
||||
int __init pas16_detect(struct scsi_host_template * tpnt)
|
||||
static int __init pas16_detect(struct scsi_host_template *tpnt)
|
||||
{
|
||||
static int current_override = 0;
|
||||
static unsigned short current_base = 0;
|
||||
@@ -512,8 +512,8 @@ int __init pas16_detect(struct scsi_host_template * tpnt)
|
||||
* and matching the H_C_S coordinates to what DOS uses.
|
||||
*/
|
||||
|
||||
int pas16_biosparam(struct scsi_device *sdev, struct block_device *dev,
|
||||
sector_t capacity, int * ip)
|
||||
static int pas16_biosparam(struct scsi_device *sdev, struct block_device *dev,
|
||||
sector_t capacity, int *ip)
|
||||
{
|
||||
int size = capacity;
|
||||
ip[0] = 64;
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador