correct inlining of hook by id get
[lttv.git] / ltt / branches / poly / lttv / lttv / hook.c
index 45870c323a4d62b1e4f614221dee2f1ec473be13..9f08b98b46f1ed4e0b6d694f927e89f0da127f1a 100644 (file)
@@ -416,17 +416,6 @@ unsigned lttv_hooks_by_id_max_id(LttvHooksById *h)
   return h->len;
 }
 
-
-inline LttvHooks *lttv_hooks_by_id_get(LttvHooksById *h, unsigned id)
-{
-  LttvHooks *ret;
-  if(id < h->len) ret = h->pdata[id];
-  else ret = NULL;
-
-  return ret;
-}
-
-
 void lttv_hooks_by_id_remove(LttvHooksById *h, unsigned id)
 {
   if(id < h->len && h->pdata[id] != NULL) {
This page took 0.022291 seconds and 4 git commands to generate.