diff options
author | Christoph Hellwig <hch@lst.de> | 2006-11-04 14:11:36 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-11-15 15:14:46 -0500 |
commit | 4f777ed26086452737ea52597cf8de26137090d5 (patch) | |
tree | 284030d230f9cd5528f611d34fd0a88c82edaac3 /include/scsi | |
parent | 3b00315799d78f76531b71435fbc2643cd71ae4c (diff) |
[SCSI] kill scsi_assign_lock
scsi_assign_lock has been unused for a long time and is a bad idea
in general, so kill it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_host.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index ba5b3eb6b43f..e618e711ea57 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h | |||
@@ -651,11 +651,6 @@ extern const char *scsi_host_state_name(enum scsi_host_state); | |||
651 | 651 | ||
652 | extern u64 scsi_calculate_bounce_limit(struct Scsi_Host *); | 652 | extern u64 scsi_calculate_bounce_limit(struct Scsi_Host *); |
653 | 653 | ||
654 | static inline void scsi_assign_lock(struct Scsi_Host *shost, spinlock_t *lock) | ||
655 | { | ||
656 | shost->host_lock = lock; | ||
657 | } | ||
658 | |||
659 | static inline struct device *scsi_get_device(struct Scsi_Host *shost) | 654 | static inline struct device *scsi_get_device(struct Scsi_Host *shost) |
660 | { | 655 | { |
661 | return shost->shost_gendev.parent; | 656 | return shost->shost_gendev.parent; |