]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-is_enabled'
authorDavid S. Miller <davem@davemloft.net>
Sun, 11 Sep 2016 04:19:12 +0000 (21:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Sep 2016 04:19:12 +0000 (21:19 -0700)
commit3541e677a37e89891e33bd1bebd63f7a16eafad5
tree66f947ff3d1ab7a5f877ecf8aca7f7c240ad395b
parent2418648e367a3e407f7d8e1710323ca9c379de36
parent4e14a6d5fd5a7d0eda48dff977a12b4ac2dcd1ea
Merge branch 'net-is_enabled'

Javier Martinez Canillas says:

====================
net: use IS_ENABLED() instead of checking for built-in or module

This trivial series replace the open coding to check for a Kconfig symbol
being built-in or module, with IS_ENABLED() macro that does exactly that.

Using the macro makes the code more readable by helping abstract away some
of the Kconfig built-in and module enable details.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>