]> 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)
commit298233daa17e2235ac396caab08b69c018215f0f
tree66f947ff3d1ab7a5f877ecf8aca7f7c240ad395b
parentb9b0e3e5500a8ebc82f2925de798bf15c0dd9df6
parent432cf1e7fccd32aa23a808579239841a2f296b6b
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>