]> git.baikalelectronics.ru Git - kernel.git/commit
net/dcb: make dcbnl.c explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 7 Oct 2015 21:27:44 +0000 (17:27 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:52:27 +0000 (07:52 -0700)
commit36b9ad8084bd7ecf6d2241beca23e71f5f4b0cf1
tree7a8b628963dc81fe3caf60180b51d076a9f8d1fd
parentb6191aeeec1045decb5964e6b5e8c314f5982c85
net/dcb: make dcbnl.c explicitly non-modular

The Kconfig currently controlling compilation of this code is:

net/dcb/Kconfig:config DCB
net/dcb/Kconfig:        bool "Data Center Bridging support"

...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 etc. since all that information
is (or is now) already contained at the top of the file in the comments.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Anish Bhatt <anish@chelsio.com>
Cc: John Fastabend <john.r.fastabend@intel.com>
Cc: Shani Michaeli <shanim@mellanox.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c