Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] ide: pdc202xx_old.c: remove unneeded tuneproc() call

Remove a call to hwif->tuneproc() on the error path of
config_chipset_for_dma(), as its single caller
(pdc202xx_config_drive_xfer_rate()) will do the call in that case.

Signed-off-by: Tobias Oed <tobiasoed@hotmail.com>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Tobias Oed and committed by
Linus Torvalds
b5cdccf8 cf2dfbfb

-1
-1
drivers/ide/pci/pdc202xx_old.c
··· 370 370 if (!(speed)) { 371 371 /* restore original pci-config space */ 372 372 pci_write_config_dword(dev, drive_pci, drive_conf); 373 - hwif->tuneproc(drive, 5); 374 373 return 0; 375 374 } 376 375