[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)
commitaf2b4079ab154bd12e8c12b02db5f31b31babe63
treee7ba0f1bc8764c36859e2cfa9421bb1d86f2e7f4
parentb3a5225f31180322fd7d692fd4cf786702826b94
[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