diff options
author | Willy Tarreau <[email protected]> | 2020-04-10 12:19:04 +0200 |
---|---|---|
committer | Denis Efremov <[email protected]> | 2020-05-12 19:34:56 +0300 |
commit | ca1b409a3b8a190c13bb30ed3ad91585d434d8e2 (patch) | |
tree | df0850d53643cc102dcde3d763f67ed6c620f69c /include/linux/fpga/fpga-bridge.h | |
parent | 99ba6ccc7f8f362ae52ddddda2252e753329c7ec (diff) |
floppy: cleanup: make set_fdc() always set current_drive and current_fd
When called with a negative drive value, set_fdc() would stick to the
current fdc (which was assumed to reflect the current_drive's FDC). We
do not need this anymore as the last call place with a negative value
was just addressed. Let's make this function always set both current_fdc
and current_drive so that there's no more ambiguity. A few comments
stating this were added to a few non-obvious places.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Willy Tarreau <[email protected]>
Signed-off-by: Denis Efremov <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions