diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-11-21 18:02:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:03:59 -0500 |
commit | 68d579fb93df0db0442f90106b19a8dc701ecef1 (patch) | |
tree | 6ddcdc7056acc0cb2c9c8f4dbeffb3912edace3d /drivers/net/chelsio/sge.c | |
parent | 2450022afa9f140464c934ecb28c45583335672a (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/sge.c')
-rw-r--r-- | drivers/net/chelsio/sge.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/chelsio/sge.c b/drivers/net/chelsio/sge.c index b301c0428ae0..8a7efd38e95b 100644 --- a/drivers/net/chelsio/sge.c +++ b/drivers/net/chelsio/sge.c | |||
@@ -330,6 +330,8 @@ unsigned int t1_sched_update_parms(struct sge *sge, unsigned int port, | |||
330 | return max_avail_segs * (p->mtu - 40); | 330 | return max_avail_segs * (p->mtu - 40); |
331 | } | 331 | } |
332 | 332 | ||
333 | #if 0 | ||
334 | |||
333 | /* | 335 | /* |
334 | * t1_sched_max_avail_bytes() tells the scheduler the maximum amount of | 336 | * t1_sched_max_avail_bytes() tells the scheduler the maximum amount of |
335 | * data that can be pushed per port. | 337 | * data that can be pushed per port. |
@@ -357,6 +359,8 @@ void t1_sched_set_drain_bits_per_us(struct sge *sge, unsigned int port, | |||
357 | t1_sched_update_parms(sge, port, 0, 0); | 359 | t1_sched_update_parms(sge, port, 0, 0); |
358 | } | 360 | } |
359 | 361 | ||
362 | #endif /* 0 */ | ||
363 | |||
360 | 364 | ||
361 | /* | 365 | /* |
362 | * get_clock() implements a ns clock (see ktime_get) | 366 | * get_clock() implements a ns clock (see ktime_get) |