]> git.baikalelectronics.ru Git - kernel.git/commit
[NET]: Shut up warnings in net/core/flow.c
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 22 Nov 2005 22:38:04 +0000 (14:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Nov 2005 22:38:04 +0000 (14:38 -0800)
commit4f2fc3274284fd0fb34772975534a1350091ef27
treee7ba0f1bc8764c36859e2cfa9421bb1d86f2e7f4
parent0319e474d3cfca760bad8ea8170c2ab32e469f47
[NET]: Shut up warnings in net/core/flow.c

Not really a network problem, more a !SMP issue.

net/core/flow.c:295: warning: statement with no effect

flow.c:295:        smp_call_function(flow_cache_flush_per_cpu, &info, 1, 0);

Fix this by converting the macro to an inline function, which
also increases the typechecking for !SMP builds.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/smp.h