call-forwarding: Inline get_query_next_cf_cond()
authorOleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Tue, 13 Mar 2012 13:46:23 +0000 (15:46 +0200)
committerDenis Kenzior <denkenz@gmail.com>
Mon, 19 Mar 2012 18:33:41 +0000 (13:33 -0500)
src/call-forwarding.c

index 0857362..8b6659a 100644 (file)
@@ -595,7 +595,7 @@ static void get_query_cf_callback(const struct ofono_error *error, int total,
        get_query_next_cf_cond(cf);
 }
 
-static void get_query_next_cf_cond(struct ofono_call_forwarding *cf)
+static inline void get_query_next_cf_cond(struct ofono_call_forwarding *cf)
 {
        cf->driver->query(cf, cf->query_next, BEARER_CLASS_DEFAULT,
                                get_query_cf_callback, cf);