[patch] Kill useless fcn call

From: Tobias Oed
Date: Tue Apr 18 2006 - 09:06:45 EST


Hello,
this patch against 2.6.17-mm3 for pdc202xx_old.c removes 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.
Tobias

Signed-off-by: Tobias Oed <tobiasoed@xxxxxxxxxxx>

--- pdc202xx_old.c.orig 2006-04-18 13:10:54.000000000 +0200
+++ pdc202xx_old.c 2006-04-18 13:12:47.000000000 +0200
@@ -370,7 +370,6 @@
if (!(speed)) {
/* restore original pci-config space */
pci_write_config_dword(dev, drive_pci, drive_conf);
- hwif->tuneproc(drive, 5);
return 0;
}

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/