Skip to content

Commit de77aaf

Browse files
HenneJames Bottomley
authored andcommitted
[SCSI] scsi: remove hosts.h
Remove the obsolete hosts.h file under drivers/scsi. Signed-off-by: Henrik Kretzschmar <[email protected]> Signed-off-by: James Bottomley <[email protected]>
1 parent c127828 commit de77aaf

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

drivers/scsi/dpt_i2o.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2212,7 +2212,7 @@ static s32 adpt_scsi_register(adpt_hba* pHba,struct scsi_host_template * sht)
22122212
*/
22132213
host->io_port = 0;
22142214
host->n_io_port = 0;
2215-
/* see comments in hosts.h */
2215+
/* see comments in scsi_host.h */
22162216
host->max_id = 16;
22172217
host->max_lun = 256;
22182218
host->max_channel = pHba->top_scsi_channel + 1;

drivers/scsi/dpti.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static int adpt_device_reset(struct scsi_cmnd* cmd);
4444

4545

4646
/*
47-
* struct scsi_host_template (see hosts.h)
47+
* struct scsi_host_template (see scsi/scsi_host.h)
4848
*/
4949

5050
#define DPT_DRIVER_NAME "Adaptec I2O RAID"

drivers/scsi/hosts.h

Lines changed: 0 additions & 2 deletions
This file was deleted.

drivers/scsi/ips.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,14 +182,8 @@
182182
#include <linux/dma-mapping.h>
183183

184184
#include <scsi/sg.h>
185-
186185
#include "scsi.h"
187-
188-
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,0)
189-
#include "hosts.h"
190-
#else
191186
#include <scsi/scsi_host.h>
192-
#endif
193187

194188
#include "ips.h"
195189

drivers/scsi/pcmcia/nsp_cs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ static int free_ports = 0;
8080
module_param(free_ports, bool, 0);
8181
MODULE_PARM_DESC(free_ports, "Release IO ports after configuration? (default: 0 (=no))");
8282

83-
/* /usr/src/linux/drivers/scsi/hosts.h */
8483
static struct scsi_host_template nsp_driver_template = {
8584
.proc_name = "nsp_cs",
8685
.proc_info = nsp_proc_info,

0 commit comments

Comments
 (0)