summaryrefslogtreecommitdiff
path: root/drivers/scsi/megaraid/mega_common.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-10-31 21:06:02 +0100
committerJames Bottomley <jejb@mulgrave.(none)>2005-11-06 12:51:32 -0600
commitf2c8dc402b939ddcb0299bb60227c47dc454c85a (patch)
tree541ba37d973d19495047a987f14e45a63febaa1e /drivers/scsi/megaraid/mega_common.h
parent3072c4abdd8c239a28085733adf3aaae94ad8fbe (diff)
[SCSI] megaraid_mbox: remove scsi_assign_lock usage
also remove the adapter->host_lock alias for adapter->lock and remove some superflous locking aswell as removing the tiny locking wrappers for the EH routines. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/megaraid/mega_common.h')
-rw-r--r--drivers/scsi/megaraid/mega_common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/megaraid/mega_common.h b/drivers/scsi/megaraid/mega_common.h
index 69df1a9b935d..5accdee9bbfb 100644
--- a/drivers/scsi/megaraid/mega_common.h
+++ b/drivers/scsi/megaraid/mega_common.h
@@ -97,7 +97,6 @@ typedef struct {
* @param dpc_h : tasklet handle
* @param pdev : pci configuration pointer for kernel
* @param host : pointer to host structure of mid-layer
- * @param host_lock : pointer to appropriate lock
* @param lock : synchronization lock for mid-layer and driver
* @param quiescent : driver is quiescent for now.
* @param outstanding_cmds : number of commands pending in the driver
@@ -152,7 +151,6 @@ typedef struct {
struct tasklet_struct dpc_h;
struct pci_dev *pdev;
struct Scsi_Host *host;
- spinlock_t *host_lock;
spinlock_t lock;
uint8_t quiescent;
int outstanding_cmds;