Skip to contentSkip to conversation

drivers/scsi/advansys.c: cleanups

PATCH New Adrian Bunk 1 participant 1 message May 16, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/scsi/advansys.c: cleanups

This patch contains the following cleanups:
- remove the unneeded advansys.h
- remove the unused advansys_setup()
- make needlessly global functions static

---

 drivers/scsi/advansys.c |  101 +++-------------------------------------
 drivers/scsi/advansys.h |   36 --------------
 2 files changed, 8 insertions(+), 129 deletions(-)
drivers/scsi/advansys.h deleted +0 -36
@@ -1,36 +0,0 @@
-/*
- * advansys.h - Linux Host Driver for AdvanSys SCSI Adapters
- * 
- * Copyright (c) 1995-2000 Advanced System Products, Inc.
- * Copyright (c) 2000-2001 ConnectCom Solutions, Inc.
- * All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that redistributions of source
- * code retain the above copyright notice and this comment without
- * modification.
- *
- * As of March 8, 2000 Advanced System Products, Inc. (AdvanSys)
- * changed its name to ConnectCom Solutions, Inc.
- *
- */
-
-#ifndef _ADVANSYS_H
-#define _ADVANSYS_H
-
-/*
- * struct scsi_host_template function prototypes.
- */
-int advansys_detect(struct scsi_host_template *);
-int advansys_release(struct Scsi_Host *);
-const char *advansys_info(struct Scsi_Host *);
-int advansys_queuecommand(struct scsi_cmnd *, void (* done)(struct scsi_cmnd *));
-int advansys_reset(struct scsi_cmnd *);
-int advansys_biosparam(struct scsi_device *, struct block_device *,
-		sector_t, int[]);
-static int advansys_slave_configure(struct scsi_device *);
-
-/* init/main.c setup function */
-void advansys_setup(char *, int *);
-
-#endif /* _ADVANSYS_H */
drivers/scsi/advansys.c renamed from drivers/scsi/advansys.c.old +8 -93

173 lines not on this page · raw message