OSDN Git Service

floppy: cleanup: expand macro UDRWE
authorWilly Tarreau <w@1wt.eu>
Mon, 24 Feb 2020 21:23:47 +0000 (22:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Mar 2020 14:26:57 +0000 (08:26 -0600)
commit121e297955e312bee9edb151c9f68a550c28284b
tree14a67202bcf5b56e0dccb48a300983b10096ab3d
parent8d9d34e25a372b3841f102a39e2def18e7dc805a
floppy: cleanup: expand macro UDRWE

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