Skip to content

Commit

Permalink
isci: remove isci_timer interface
Browse files Browse the repository at this point in the history
Delete code which is no longer used.

Signed-off-by: Edmund Nadolski <edmund.nadolski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
  • Loading branch information
Edmund Nadolski authored and Dan Williams committed Jul 3, 2011
1 parent fd18388 commit 8db02da
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 352 deletions.
2 changes: 1 addition & 1 deletion drivers/scsi/isci/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
obj-$(CONFIG_SCSI_ISCI) += isci.o
isci-objs := init.o phy.o request.o sata.o \
remote_device.o port.o timers.o \
remote_device.o port.o \
host.o task.o probe_roms.o \
state_machine.o \
remote_node_context.o \
Expand Down
13 changes: 0 additions & 13 deletions drivers/scsi/isci/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
#include "scu_remote_node_context.h"
#include "scu_task_context.h"
#include "scu_unsolicited_frame.h"
#include "timers.h"

#define SCU_CONTEXT_RAM_INIT_STALL_TIME 200

Expand Down Expand Up @@ -111,14 +110,6 @@
)


#define SCIC_SDS_CONTROLLER_MIN_TIMER_COUNT 3
#define SCIC_SDS_CONTROLLER_MAX_TIMER_COUNT 3

/**
*
*
* The number of milliseconds to wait for a phy to start.
*/
#define SCIC_SDS_CONTROLLER_PHY_START_TIMEOUT 100

/**
Expand Down Expand Up @@ -1379,8 +1370,6 @@ void isci_host_deinit(struct isci_host *ihost)
del_timer_sync(&ihost->sci.timer.timer);

del_timer_sync(&ihost->sci.phy_timer.timer);

isci_timer_list_destroy(ihost);
}

static void __iomem *scu_base(struct isci_host *isci_host)
Expand Down Expand Up @@ -2517,8 +2506,6 @@ int isci_host_init(struct isci_host *isci_host)
union scic_user_parameters scic_user_params;
struct isci_pci_info *pci_info = to_pci_info(isci_host->pdev);

isci_timer_list_construct(isci_host);

spin_lock_init(&isci_host->state_lock);
spin_lock_init(&isci_host->scic_lock);
spin_lock_init(&isci_host->queue_lock);
Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/isci/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ struct isci_host {
union scic_oem_parameters oem_parameters;

int id; /* unique within a given pci device */
struct list_head timers;
void *core_ctrl_memory;
struct dma_pool *dma_pool;
struct isci_phy phys[SCI_MAX_PHYS];
Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/isci/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
#include "host.h"
#include "phy.h"
#include "scu_event_codes.h"
#include "timers.h"
#include "probe_roms.h"

/* Maximum arbitration wait time in micro-seconds */
Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/isci/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
#include "isci.h"
#include "port.h"
#include "request.h"
#include "timers.h"

#define SCIC_SDS_PORT_HARD_RESET_TIMEOUT (1000)
#define SCU_DUMMY_INDEX (0xFFFF)
Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/isci/port_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
*/

#include "host.h"
#include "timers.h"

#define SCIC_SDS_MPC_RECONFIGURATION_TIMEOUT (10)
#define SCIC_SDS_APC_RECONFIGURATION_TIMEOUT (10)
Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/isci/task.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
#include "request.h"
#include "sata.h"
#include "task.h"
#include "timers.h"

/**
* isci_task_refuse() - complete the request to the upper layer driver in
Expand Down
245 changes: 0 additions & 245 deletions drivers/scsi/isci/timers.c

This file was deleted.

Loading

0 comments on commit 8db02da

Please sign in to comment.