[patch] Kill useless fcn call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux