From: Ben Pfaff Date: Mon, 16 Dec 2013 17:20:12 +0000 (-0800) Subject: bridge: Remove superfluous "inline" from ofp12_controller_role_to_str(). X-Git-Tag: sliver-openvswitch-2.1.90-1~10^2~161 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=61c7584076dfb778697dcc132f5bcabdd42c9d9c;p=sliver-openvswitch.git bridge: Remove superfluous "inline" from ofp12_controller_role_to_str(). Putting "static inline" on a function definition in a .c file does not help the compiler and does suppress warnings for unused functions that one would want, should the function ever become unused. Signed-off-by: Ben Pfaff Acked-by: Joe Stringer --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 1d60326fe..f325afa68 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -2056,7 +2056,7 @@ run_system_stats(void) } } -static inline const char * +static const char * ofp12_controller_role_to_str(enum ofp12_controller_role role) { switch (role) {