net: make NET_(DEV|NS)_REFCNT_TRACKER depend on NET
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Thu, 15 Sep 2022 12:42:56 +0000 (14:42 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Sep 2022 21:23:56 +0000 (14:23 -0700)
commitcaddb4e0d63980315772e3c6f4e92624d0dd193f
tree8f98f0fe4cd15655bcdbadbbf1d20a7384122cee
parentc3194a67149f491aadc6cf9da509ff64227bfbe8
net: make NET_(DEV|NS)_REFCNT_TRACKER depend on NET

It makes little sense to ask if networking namespace or net device refcount
tracking shall be enabled for debug kernel builds without network support.

This is similar to the commit eb0b39efb7d9 ("net: CONFIG_DEBUG_NET depends
on CONFIG_NET").

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Link: https://lore.kernel.org/r/20220915124256.32512-1-lukas.bulwahn@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/Kconfig.debug