Re: [PATCH 1/3] net: fix socket memcg build with !CONFIG_NET

From
David Miller <hidden>
Date
2012-01-22 19:36:07
Also in
cgroups, lkml
Reply to
Glauber Costa, 2012-01-21
From: Glauber Costa <redacted>
Date: Sat, 21 Jan 2012 18:17:26 +0400
I am not removing the static branch. This is just a macro, that
expands to the static branch when the options are in place, and to 0
if they are not.

if (0) { } is certainly be removed to the compiler, so the code is out
anyway.
That's rather non-intuitive, oh well.

I'll apply this, but all of this stuff is an ifdef mess.
Thread (11 messages) 11 messages, 4 authors, last reply 2012-01-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help