aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/mega_common.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-10-31 15:06:02 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-11-06 13:51:32 -0500
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 {
97 * @param dpc_h : tasklet handle 97 * @param dpc_h : tasklet handle
98 * @param pdev : pci configuration pointer for kernel 98 * @param pdev : pci configuration pointer for kernel
99 * @param host : pointer to host structure of mid-layer 99 * @param host : pointer to host structure of mid-layer
100 * @param host_lock : pointer to appropriate lock
101 * @param lock : synchronization lock for mid-layer and driver 100 * @param lock : synchronization lock for mid-layer and driver
102 * @param quiescent : driver is quiescent for now. 101 * @param quiescent : driver is quiescent for now.
103 * @param outstanding_cmds : number of commands pending in the driver 102 * @param outstanding_cmds : number of commands pending in the driver
@@ -152,7 +151,6 @@ typedef struct {
152 struct tasklet_struct dpc_h; 151 struct tasklet_struct dpc_h;
153 struct pci_dev *pdev; 152 struct pci_dev *pdev;
154 struct Scsi_Host *host; 153 struct Scsi_Host *host;
155 spinlock_t *host_lock;
156 spinlock_t lock; 154 spinlock_t lock;
157 uint8_t quiescent; 155 uint8_t quiescent;
158 int outstanding_cmds; 156 int outstanding_cmds;