ofp-util: Un-"inline" should_send_version_bitmap().
authorBen Pfaff <blp@nicira.com>
Thu, 18 Jul 2013 22:48:33 +0000 (15:48 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 18 Jul 2013 22:48:33 +0000 (15:48 -0700)
There is no reason to mark this function as inline.  Let the compiler do
its job.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
lib/ofp-util.c

index 8921592..bc85797 100644 (file)
@@ -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);