From 5ddea99811eb96fffc945c0b8ec9cca155a91307 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 18 Jul 2013 15:48:33 -0700 Subject: [PATCH] ofp-util: Un-"inline" should_send_version_bitmap(). There is no reason to mark this function as inline. Let the compiler do its job. Signed-off-by: Ben Pfaff Acked-by: Justin Pettit --- lib/ofp-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 892159260..bc85797a5 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -1372,7 +1372,7 @@ ofputil_decode_hello(const struct ofp_header *oh, uint32_t *allowed_versions) /* Returns true if 'allowed_versions' needs to be accompanied by a version * bitmap to be correctly expressed in an OFPT_HELLO message. */ -static inline bool +static bool should_send_version_bitmap(uint32_t allowed_versions) { return !is_pow2((allowed_versions >> 1) + 1); -- 2.47.0