]> git.baikalelectronics.ru Git - kernel.git/commit
floppy: cleanup: expand macro UFDCS
authorWilly Tarreau <w@1wt.eu>
Mon, 24 Feb 2020 21:23:44 +0000 (22:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Mar 2020 14:26:57 +0000 (08:26 -0600)
commit782f868e9352d40f5d33a3ff5d0e997892dcd27f
treeea127b308e5d24f579e18d0978654eff5172a842
parent767fee199c7a9ea5385651f8b1c296fc1ee9167b
floppy: cleanup: expand macro UFDCS

This macro doesn't bring much value and only slightly obfuscates the
code by silently using local variable "drive", let's expand it.

Link: https://lore.kernel.org/r/20200224212352.8640-3-w@1wt.eu
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/floppy.c