OSDN Git Service

net/sched: make sch_blackhole.c explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 7 Oct 2015 21:27:45 +0000 (17:27 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:52:28 +0000 (07:52 -0700)
commit075640e364f3b46311766f0eff28bd3695637e16
treea91ee6aa2a61de9f6fbc822da33f17a100ae9cca
parent36b9ad8084bd7ecf6d2241beca23e71f5f4b0cf1
net/sched: make sch_blackhole.c explicitly non-modular

The Kconfig currently controlling compilation of this code is:

net/sched/Kconfig:menuconfig NET_SCHED
net/sched/Kconfig:      bool "QoS and/or fair queueing"

...meaning that it currently is not being built as a module by anyone.

Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.  We can
change to one of the other priority initcalls (subsys?) at any later
date, if desired.

We also delete the MODULE_LICENSE tag since all that information
is already contained at the top of the file in the comments.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_blackhole.c