diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-06-04 01:33:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-07 01:08:11 -0700 |
commit | f2a03367c072150c881fa23ce3d3f76b8236018f (patch) | |
tree | 52b98e8b034352f8afd9c6b2974f85f3b9171ed4 | |
parent | fa6ca57113c2fd2d86dd854e0bc5e18b9786282b (diff) | |
download | kernel_samsung_tuna-f2a03367c072150c881fa23ce3d3f76b8236018f.zip kernel_samsung_tuna-f2a03367c072150c881fa23ce3d3f76b8236018f.tar.gz kernel_samsung_tuna-f2a03367c072150c881fa23ce3d3f76b8236018f.tar.bz2 |
htb: remove two unnecessary assignments
remove two unnecessary assignments
we don't need to assign NULL when initialize structure objects.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
----
net/sched/sch_htb.c | 2 --
1 file changed, 2 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/sched/sch_htb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 0b52b8d..4be8d04 100644 --- a/net/sched/sch_htb.c +++ b/net/sched/sch_htb.c @@ -1550,7 +1550,6 @@ static const struct Qdisc_class_ops htb_class_ops = { }; static struct Qdisc_ops htb_qdisc_ops __read_mostly = { - .next = NULL, .cl_ops = &htb_class_ops, .id = "htb", .priv_size = sizeof(struct htb_sched), @@ -1561,7 +1560,6 @@ static struct Qdisc_ops htb_qdisc_ops __read_mostly = { .init = htb_init, .reset = htb_reset, .destroy = htb_destroy, - .change = NULL /* htb_change */, .dump = htb_dump, .owner = THIS_MODULE, }; |