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

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

Link: https://lore.kernel.org/r/20200224212352.8640-8-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