diff options
author | David Disseldorp <ddiss@suse.de> | 2018-11-23 20:36:11 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-11-29 02:50:53 +0300 |
commit | 6baca7601bdee2e57f20c45d63eb53b89b33e816 (patch) | |
tree | 54bed3bbd63a1401e39be2b2ddfe6f13d232e128 /drivers/usb/gadget | |
parent | 359d0ac1e806caa6c233e32d33c8970aa94f6cb7 (diff) | |
download | linux-6baca7601bdee2e57f20c45d63eb53b89b33e816.tar.xz |
scsi: target: drop unused pi_prot_format attribute storage
On write, the pi_prot_format configfs attribute invokes the device
format_prot() callback if present. Read dumps the contents of
se_dev_attrib.pi_prot_format which is always zero. Make the configfs
attribute write-only, and drop the always zero se_dev_attrib.pi_prot_format
storage.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions