scsi: remove hosts.h
Subsystems (4)
PATCH 1/1 scsi: remove hosts.h
Remove the obsolete hosts.h file under drivers/scsi.
Signed-off-by Henrik Kretzschmar <[email protected]>
---
b/drivers/scsi/dpt_i2o.c | 2 +- b/drivers/scsi/dpti.h | 2 +- b/drivers/scsi/ips.c | 6 ------ b/drivers/scsi/pcmcia/nsp_cs.c | 1 - drivers/scsi/hosts.h | 2 -- 5 files changed, 2 insertions(+), 11 deletions(-)
drivers/scsi/dpt_i2o.c +1 -1
@@ -2212,7 +2212,7 @@ static s32 adpt_scsi_register(adpt_hba**/ host->io_port =0 ; host->n_io_port =0 ; -/* see comments in hosts.h */ +/* see comments in scsi_host.h */ host->max_id =16 ; host->max_lun =256 ; host->max_channel = pHba->top_scsi_channel +1 ;
drivers/scsi/dpti.h +1 -1
@@ -44,7 +44,7 @@ static int adpt_device_reset(struct scsi/* -* struct scsi_host_template (see hosts.h) +* struct scsi_host_template (see scsi/scsi_host.h) */ #define DPT_DRIVER_NAME "Adaptec I2O RAID"
drivers/scsi/hosts.h deleted +0 -2
@@ -1,2 +0,0 @@ -#warning "This file is obsolete, please use <scsi/scsi_host.h> instead" -#include <scsi/scsi_host.h>
drivers/scsi/ips.c +0 -6
@@ -182,14 +182,8 @@ #include <linux/types.h>#include <linux/dma-mapping.h> #include <scsi/sg.h> -#include "scsi.h" - -#if LINUX_VERSION_CODE <=KERNEL_VERSION (2 ,5 ,0 ) -#include "hosts.h" -#else #include <scsi/scsi_host.h> -#endif #include "ips.h"
drivers/scsi/pcmcia/nsp_cs.c +0 -1
@@ -80,7 +80,6 @@ static int free_ports = 0;module_param (free_ports, bool,0 );MODULE_PARM_DESC (free_ports,"Release IO ports after configuration? (default: 0 (=no))" ); -/* /usr/src/linux/drivers/scsi/hosts.h */ static struct scsi_host_template nsp_driver_template = { .proc_name ="nsp_cs" , .proc_info = nsp_proc_info,
Quoted 2 lines · Henne
Remove the obsolete
hosts.hfile underdrivers/scsi.Signed-off-by Henrik Kretzschmar <[email protected]>
Ok. I thought we had remove this one long time ago.
Quoted 78 lines
---
b/drivers/scsi/dpt_i2o.c | 2 +- b/drivers/scsi/dpti.h | 2 +- b/drivers/scsi/ips.c | 6 ------ b/drivers/scsi/pcmcia/nsp_cs.c | 1 - drivers/scsi/hosts.h | 2 -- 5 files changed, 2 insertions(+), 11 deletions(-)drivers/scsi/dpt_i2o.c +1
-1@@ -2212,7 +2212,7 @@ static s32 adpt_scsi_register(adpt_hba**/ host->io_port =0 ; host->n_io_port =0 ; -/* see comments in hosts.h */ +/* see comments in scsi_host.h */ host->max_id =16 ; host->max_lun =256 ; host->max_channel = pHba->top_scsi_channel +1 ;drivers/scsi/dpti.h +1
-1@@ -44,7 +44,7 @@ static int adpt_device_reset(struct scsi/* -* struct scsi_host_template (see hosts.h) +* struct scsi_host_template (see scsi/scsi_host.h) */ #define DPT_DRIVER_NAME "Adaptec I2O RAID"drivers/scsi/hosts.h deleted +0
-2@@ -1,2 +0,0 @@ -#warning "This file is obsolete, please use <scsi/scsi_host.h> instead" -#include <scsi/scsi_host.h> drivers/scsi/ips.c +0
-6@@ -182,14 +182,8 @@ #include <linux/types.h>#include <linux/dma-mapping.h> #include <scsi/sg.h> -#include "scsi.h" - -#if LINUX_VERSION_CODE <=KERNEL_VERSION (2 ,5 ,0 ) -#include "hosts.h" -#else #include <scsi/scsi_host.h> -#endif #include "ips.h" drivers/scsi/pcmcia/nsp_cs.c +0
-2@@ -80,7 +80,6 @@ static int free_ports = 0;module_param (free_ports, bool,0 );MODULE_PARM_DESC (free_ports,"Release IO ports after configuration? (default: 0 (=no))" ); -/* /usr/src/linux/drivers/scsi/hosts.h */ static struct scsi_host_template nsp_driver_template = { .proc_name ="nsp_cs" , .proc_info = nsp_proc_info, -
Quoted 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
---end quoted text---