]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
floppy: cleanup: make twaddle() not rely on current_{fdc,drive} anymore
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Mar 2020 09:40:40 +0000 (11:40 +0200)
committerDenis Efremov <efremov@linux.com>
Tue, 12 May 2020 16:34:53 +0000 (19:34 +0300)
commitc1f710b5fe8c18d0c2be4514bf509e1a4203ce08
tree7b81fd121ec2cb7a645571857d4f581c4d95cde3
parent38ede90831c7f3e931b58c2b2790d02d5d061592
floppy: cleanup: make twaddle() not rely on current_{fdc,drive} anymore

Now the fdc and drive are passed in argument so that the function does
not use current_fdc nor current_drive anymore.

Link: https://lore.kernel.org/r/20200331094054.24441-10-w@1wt.eu
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Denis Efremov <efremov@linux.com>
drivers/block/floppy.c