lkml.org 
[lkml]   [2006]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[patch] Kill useless fcn call
Date
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/

\
 
 \ /
  Last update: 2006-04-18 15:09    [W:1.589 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site