]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libata-scsi: minor cleanup for ata_scsi_zbc_out_xlat
authorDamien Le Moal <damien.lemoal@hgst.com>
Thu, 14 Jul 2016 00:05:51 +0000 (09:05 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 15 Jul 2016 12:08:14 +0000 (08:08 -0400)
commit2950cefac0a7d8d4de1b321874a1f31df4bc19a8
treecaf7ea371e038ac44062ac8d210ca400160f7add
parentee194b75318df718827677d150ebdc31086b121b
libata-scsi: minor cleanup for ata_scsi_zbc_out_xlat

The reset_all variable name is misleading as this bit is also applicable to
open, close, and finish actions. So rename that variable to "all" and remove
the unnecessary mask operation that's already done earlier.

Signed-off-by: Damien Le Moal <damien.lemoal@hgst.com>
[hch: split from the previous patch]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-scsi.c