mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[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 <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
3b00315799
commit
4f777ed260
3 changed files with 7 additions and 33 deletions
|
|
@ -651,11 +651,6 @@ extern const char *scsi_host_state_name(enum scsi_host_state);
|
|||
|
||||
extern u64 scsi_calculate_bounce_limit(struct Scsi_Host *);
|
||||
|
||||
static inline void scsi_assign_lock(struct Scsi_Host *shost, spinlock_t *lock)
|
||||
{
|
||||
shost->host_lock = lock;
|
||||
}
|
||||
|
||||
static inline struct device *scsi_get_device(struct Scsi_Host *shost)
|
||||
{
|
||||
return shost->shost_gendev.parent;
|
||||
|
|
|
|||
Loading…
Reference in a new issue