• Paul Gortmaker's avatar
    net/sched: make sch_blackhole.c explicitly non-modular · 075640e3
    Paul Gortmaker authored
    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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
sch_blackhole.c 1.05 KB