mptsas : Removed mptscsih_timer_expired.
Subsystems (2)
PATCH 2/7 mptsas : Removed mptscsih_timer_expired.
Removed mptscsih_timer_expired. This timer is no more use.
---
Signed-off-by Kashyap Desai <[email protected]>
---
drivers/message/fusion/mptbase.h +0 -14
@@ -880,23 +880,9 @@ typedef enum {typedef struct _MPT_SCSI_HOST {MPT_ADAPTER *ioc; -int port; -u32 pad0; -MPT_LOCAL_REPLY *pLocal;/* used for internal commands */ -struct timer_list timer; -/* Pool of memory for holding SCpnts before doing -* OS callbacks. freeQ is the free pool. -*/ -u8 negoNvram;/* DV disabled, nego NVRAM */ -u8 pad1; -u8 rsvd[2 ]; -MPT_FRAME_HDR *cmdPtr;/* Ptr to nonOS request */ -struct scsi_cmnd *abortSCpnt; -MPT_LOCAL_REPLY localReply;/* internal cmd reply struct */ ushort sel_timeout[MPT_MAX_FC_DEVICES ];char *info_kbuf;long last_queue_full; -u16 tm_iocstatus;u16 spi_pending;struct list_head target_reset_list; }MPT_SCSI_HOST ;
drivers/message/fusion/mptfc.c +0 -19
@@ -1288,25 +1288,6 @@ mptfc_probe(struct pci_dev *pdev, const struct pci_device_id *id)dprintk (ioc,printk (MYIOC_s_DEBUG_FMT"ScsiLookup @ %p\n" , ioc->name, ioc->ScsiLookup)); -/* Clear the TM flags -*/ - hd->abortSCpnt =NULL ; - -/* Clear the pointer used to store -* single-threaded commands, i.e., those -* issued during a bus scan, dv and -* configuration pages. -*/ - hd->cmdPtr =NULL ; - -/* Initialize this SCSI Hosts' timers -* To use, set the timer expires field -* and add_timer -*/ -init_timer (&hd->timer); - hd->timer.data = (unsigned long ) hd; - hd->timer.function = mptscsih_timer_expired; - hd->last_queue_full =0 ; sh->transportt = mptfc_transport_template;
drivers/message/fusion/mptsas.c +0 -19
@@ -4821,25 +4821,6 @@ mptsas_probe(struct pci_dev *pdev, const struct pci_device_id *id)dprintk (ioc,printk (MYIOC_s_DEBUG_FMT"ScsiLookup @ %p\n" , ioc->name, ioc->ScsiLookup)); -/* Clear the TM flags -*/ - hd->abortSCpnt =NULL ; - -/* Clear the pointer used to store -* single-threaded commands, i.e., those -* issued during a bus scan, dv and -* configuration pages. -*/ - hd->cmdPtr =NULL ; - -/* Initialize this SCSI Hosts' timers -* To use, set the timer expires field -* and add_timer -*/ -init_timer (&hd->timer); - hd->timer.data = (unsigned long ) hd; - hd->timer.function = mptscsih_timer_expired; - ioc->sas_data.ptClear = mpt_pt_clear; hd->last_queue_full =0 ;
drivers/message/fusion/mptscsih.c +0 -48
65 lines not on this page · raw message
drivers/message/fusion/mptscsih.h +0 -1
@@ -129,7 +129,6 @@ extern int mptscsih_scandv_complete(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAextern int mptscsih_event_process (MPT_ADAPTER *ioc,EventNotificationReply_t *pEvReply);extern int mptscsih_ioc_reset (MPT_ADAPTER *ioc,int post_reset);extern int mptscsih_change_queue_depth (struct scsi_device *sdev,int qdepth); -extern void mptscsih_timer_expired (unsigned long data);extern u8 mptscsih_raid_id_to_num (MPT_ADAPTER *ioc,u8 channel,u8 id);extern int mptscsih_is_phys_disk (MPT_ADAPTER *ioc,u8 channel,u8 id);extern struct device_attribute *mptscsih_host_attrs[];
drivers/message/fusion/mptspi.c +0 -21
@@ -1472,28 +1472,7 @@ mptspi_probe(struct pci_dev *pdev, const struct pci_device_id *id)dprintk (ioc,printk (MYIOC_s_DEBUG_FMT"ScsiLookup @ %p\n" , ioc->name, ioc->ScsiLookup)); -/* Clear the TM flags -*/ - hd->abortSCpnt =NULL ; - -/* Clear the pointer used to store -* single-threaded commands, i.e., those -* issued during a bus scan, dv and -* configuration pages. -*/ - hd->cmdPtr =NULL ; - -/* Initialize this SCSI Hosts' timers -* To use, set the timer expires field -* and add_timer -*/ -init_timer (&hd->timer); - hd->timer.data = (unsigned long ) hd; - hd->timer.function = mptscsih_timer_expired; - ioc->spi_data.Saf_Te = mpt_saf_te; - - hd->negoNvram =MPT_SCSICFG_USE_NVRAM ; ddvprintk(ioc, printk(MYIOC_s_DEBUG_FMT "saf_te %x\n", ioc->name,