We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 839c4de commit 6c94284Copy full SHA for 6c94284
arch/sparc/include/asm/floppy_64.h
@@ -704,9 +704,7 @@ static unsigned long __init sun_floppy_init(void)
704
ns87303_modify(config, ASC, ASC_DRV2_SEL, 0);
705
ns87303_modify(config, FCR, 0, FCR_LDE);
706
707
- config = sun_floppy_types[0];
708
- sun_floppy_types[0] = sun_floppy_types[1];
709
- sun_floppy_types[1] = config;
+ swap(sun_floppy_types[0], sun_floppy_types[1]);
710
711
if (sun_pci_broken_drive != -1) {
712
sun_pci_broken_drive = 1 - sun_pci_broken_drive;
0 commit comments