[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>
Este commit está contenido en:

cometido por
James Bottomley

padre
3b00315799
commit
4f777ed260
@@ -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;
|
||||
|
Referencia en una nueva incidencia
Block a user