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

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