aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/espi.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-11-21 18:02:55 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:03:59 -0500
commit68d579fb93df0db0442f90106b19a8dc701ecef1 (patch)
tree6ddcdc7056acc0cb2c9c8f4dbeffb3912edace3d /drivers/net/chelsio/espi.c
parent2450022afa9f140464c934ecb28c45583335672a (diff)
drivers/net/chelsio/: #if 0 unused functions
This patch #if 0's the following unused functions: - espi.c:t1_espi_set_misc_ctrl() - sge.c:t1_sched_set_max_avail_bytes() - sge.c:t1_sched_set_drain_bits_per_us() Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/chelsio/espi.c')
-rw-r--r--drivers/net/chelsio/espi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/chelsio/espi.c b/drivers/net/chelsio/espi.c
index d7c5406a6c3f..1e0749e000b0 100644
--- a/drivers/net/chelsio/espi.c
+++ b/drivers/net/chelsio/espi.c
@@ -297,6 +297,7 @@ struct peespi *t1_espi_create(adapter_t *adapter)
297 return espi; 297 return espi;
298} 298}
299 299
300#if 0
300void t1_espi_set_misc_ctrl(adapter_t *adapter, u32 val) 301void t1_espi_set_misc_ctrl(adapter_t *adapter, u32 val)
301{ 302{
302 struct peespi *espi = adapter->espi; 303 struct peespi *espi = adapter->espi;
@@ -309,6 +310,7 @@ void t1_espi_set_misc_ctrl(adapter_t *adapter, u32 val)
309 writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL); 310 writel(espi->misc_ctrl, adapter->regs + A_ESPI_MISC_CONTROL);
310 spin_unlock(&espi->lock); 311 spin_unlock(&espi->lock);
311} 312}
313#endif /* 0 */
312 314
313u32 t1_espi_get_mon(adapter_t *adapter, u32 addr, u8 wait) 315u32 t1_espi_get_mon(adapter_t *adapter, u32 addr, u8 wait)
314{ 316{