commit | 823f8e5c1f06a050af61137f171d1f1966b0982c | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Thu Jan 13 12:44:10 2022 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Mar 14 13:13:47 2022 +0100 |
tree | 81ebfc7d2f333e70c729a55f29d34320de03344c | |
parent | 330a5bf4551784f2f0baef27f2c78550e40fc8a0 [diff] |
btrfs: cleanup temporary variables when finding rotational device status The pointer to struct request_queue is used only to get device type rotating or the non-rotating. So use it directly. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>