diff options
author | Tom Yan <tom.ty89@gmail.com> | 2016-07-19 23:39:28 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-07-20 18:19:35 +0300 |
commit | 737bee9308c457090711684b976e0fe02785a094 (patch) | |
tree | f0a825ac86cea5e080250a6689fa43497855a3a5 /drivers/block/rbd.c | |
parent | 0516900adfa1955f91f1c310f9a2fa857949de1c (diff) | |
download | linux-737bee9308c457090711684b976e0fe02785a094.tar.xz |
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 'drivers/block/rbd.c')
0 files changed, 0 insertions, 0 deletions