From 61c7584076dfb778697dcc132f5bcabdd42c9d9c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 16 Dec 2013 09:20:12 -0800 Subject: [PATCH] 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 --- vswitchd/bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.43.0