bridge: Remove superfluous "inline" from ofp12_controller_role_to_str().
authorBen Pfaff <blp@nicira.com>
Mon, 16 Dec 2013 17:20:12 +0000 (09:20 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 16 Dec 2013 17:21:42 +0000 (09:21 -0800)
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 <blp@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
vswitchd/bridge.c

index 1d60326..f325afa 100644 (file)
@@ -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) {