]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
floppy: cleanup: expand macro DRWE
authorWilly Tarreau <w@1wt.eu>
Mon, 24 Feb 2020 21:23:50 +0000 (22:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Mar 2020 14:26:57 +0000 (08:26 -0600)
commit2a3487527950a4a84917a9e309ed4c76cb78489a
treed8065bbe88a8c898bac9956dbdd3f65dce1c7d7f
parent3bd7f87c685bc588d16b486301aa571b7dff9c8d
floppy: cleanup: expand macro DRWE

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-9-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