scsi: remove current_cmnd field from struct scsi_device
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Jul 2016 04:34:55 +0000 (13:34 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 14 Jul 2016 02:33:23 +0000 (22:33 -0400)
commit68350a886e7df0269a14af888dd68be2ba9203ca
treefba17d8d095336f22ecdd435a3956b8961c3c009
parentd9083160c2f6ee456ea867ea2279c1fc6124e56f
scsi: remove current_cmnd field from struct scsi_device

The field is only used by the 53c700 driver, so move it into the
driver-private device data instead of having it in the common structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/53c700.c
drivers/scsi/53c700.h
include/scsi/scsi_device.h