scsi: kill command serial number
No users left, kill it. Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
f50e760523
commit
b9cef50921
@@ -486,7 +486,6 @@ struct scsi_host_template {
|
||||
unsigned long irq_flags; \
|
||||
int rc; \
|
||||
spin_lock_irqsave(shost->host_lock, irq_flags); \
|
||||
scsi_cmd_get_serial(shost, cmd); \
|
||||
rc = func_name##_lck (cmd, cmd->scsi_done); \
|
||||
spin_unlock_irqrestore(shost->host_lock, irq_flags); \
|
||||
return rc; \
|
||||
@@ -596,12 +595,6 @@ struct Scsi_Host {
|
||||
* is nr_hw_queues * can_queue.
|
||||
*/
|
||||
unsigned nr_hw_queues;
|
||||
/*
|
||||
* Used to assign serial numbers to the cmds.
|
||||
* Protected by the host lock.
|
||||
*/
|
||||
unsigned long cmd_serial_number;
|
||||
|
||||
unsigned active_mode:2;
|
||||
unsigned unchecked_isa_dma:1;
|
||||
|
||||
@@ -738,7 +731,6 @@ extern int scsi_host_busy(struct Scsi_Host *shost);
|
||||
extern void scsi_host_put(struct Scsi_Host *t);
|
||||
extern struct Scsi_Host *scsi_host_lookup(unsigned short);
|
||||
extern const char *scsi_host_state_name(enum scsi_host_state);
|
||||
extern void scsi_cmd_get_serial(struct Scsi_Host *, struct scsi_cmnd *);
|
||||
|
||||
static inline int __must_check scsi_add_host(struct Scsi_Host *host,
|
||||
struct device *dev)
|
||||
|
Reference in New Issue
Block a user