Skip to content

Commit

Permalink
[PATCH] ide: pdc202xx_old.c: remove unneeded tuneproc() call
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tobias Oed authored and Linus Torvalds committed Jun 26, 2006
1 parent cf2dfbf commit b5cdccf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/ide/pci/pdc202xx_old.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ static int config_chipset_for_dma (ide_drive_t *drive)
if (!(speed)) {
/* restore original pci-config space */
pci_write_config_dword(dev, drive_pci, drive_conf);
hwif->tuneproc(drive, 5);
return 0;
}

Expand Down

0 comments on commit b5cdccf

Please sign in to comment.