diff options
author | Tom Yan <tom.ty89@gmail.com> | 2016-07-20 04:39:28 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-07-20 11:19:35 -0400 |
commit | 737bee9308c457090711684b976e0fe02785a094 (patch) | |
tree | f0a825ac86cea5e080250a6689fa43497855a3a5 /crypto | |
parent | 0516900adfa1955f91f1c310f9a2fa857949de1c (diff) |
libata-scsi: better style in ata_msense_*()
`changeable` is the "version" of mode page requested by the user.
It will be less confusing/misleading if we do not check it
"together" with the setting bits of the drive.
Not to mention that we currently have ata_mselect_*() implemented
in a way that each of them will serve exclusively a particular bit
on each page. The old style will hence make the condition look even
more unnecessarily arcane if the ata_msense_*() is reflecting more
than one bit.
Signed-off-by: Tom Yan <tom.ty89@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions