mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-07 15:01:44 +00:00
hhf: make qdisc ops static
This module shouldn't be randomly exporting symbols Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
db34de939a
commit
c49fa257ba
1 changed files with 1 additions and 2 deletions
|
@ -711,7 +711,7 @@ static int hhf_dump_stats(struct Qdisc *sch, struct gnet_dump *d)
|
||||||
return gnet_stats_copy_app(d, &st, sizeof(st));
|
return gnet_stats_copy_app(d, &st, sizeof(st));
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Qdisc_ops hhf_qdisc_ops __read_mostly = {
|
static struct Qdisc_ops hhf_qdisc_ops __read_mostly = {
|
||||||
.id = "hhf",
|
.id = "hhf",
|
||||||
.priv_size = sizeof(struct hhf_sched_data),
|
.priv_size = sizeof(struct hhf_sched_data),
|
||||||
|
|
||||||
|
@ -727,7 +727,6 @@ struct Qdisc_ops hhf_qdisc_ops __read_mostly = {
|
||||||
.dump_stats = hhf_dump_stats,
|
.dump_stats = hhf_dump_stats,
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
};
|
};
|
||||||
EXPORT_SYMBOL(hhf_qdisc_ops);
|
|
||||||
|
|
||||||
static int __init hhf_module_init(void)
|
static int __init hhf_module_init(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue