aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2022-01-13 12:44:10 +0800
committerDavid Sterba <[email protected]>2022-03-14 13:13:47 +0100
commit823f8e5c1f06a050af61137f171d1f1966b0982c (patch)
tree81ebfc7d2f333e70c729a55f29d34320de03344c /lib/memory-notifier-error-inject.c
parent330a5bf4551784f2f0baef27f2c78550e40fc8a0 (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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions