diff options
author | Matthew R. Ochs <mrochs@linux.vnet.ibm.com> | 2016-11-28 18:42:01 -0600 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-30 19:53:01 -0500 |
commit | e7ab2d401dbf633eaafe5bd1f39e84492848668f (patch) | |
tree | 3d1eac8198c494dfea4d21d74d81a49a43893b9c /drivers/scsi/cxlflash/common.h | |
parent | b4b22a012ef96dac5244e9003b99924d94f899d3 (diff) | |
download | linux-e7ab2d401dbf633eaafe5bd1f39e84492848668f.tar.bz2 |
scsi: cxlflash: Remove unused buffer from AFU command
The cxlflash driver originally required a per-command 4K buffer that
hosted data passed to the AFU. When the routines that initiate AFU
and internal SCSI commands were refactored to use scsi_execute(), the
need for this buffer became obsolete. As it is no longer necessary,
the buffer is removed.
Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Acked-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/cxlflash/common.h')
-rw-r--r-- | drivers/scsi/cxlflash/common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/cxlflash/common.h b/drivers/scsi/cxlflash/common.h index ef2943d0f75c..45255145ecd9 100644 --- a/drivers/scsi/cxlflash/common.h +++ b/drivers/scsi/cxlflash/common.h @@ -134,7 +134,6 @@ struct afu_cmd { struct sisl_ioasa sa; /* IOASA must follow IOARCB */ spinlock_t slock; struct completion cevent; - char *buf; /* per command buffer */ struct afu *parent; int slot; atomic_t free; |