aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/sge.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/chelsio/sge.c')
-rw-r--r--drivers/net/chelsio/sge.c4
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)