Messages in this thread Patch in this message | | | From | "Tobias Oed" <> | Subject | [patch] Kill useless fcn call | Date | Tue, 18 Apr 2006 09:06:32 -0400 |
| |
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@hotmail.com>
--- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |