summaryrefslogtreecommitdiffstats
path: root/runtime/map-gen.c
diff options
context:
space:
mode:
authorhunt <hunt>2005-11-09 08:24:52 +0000
committerhunt <hunt>2005-11-09 08:24:52 +0000
commit66f95fac49b0789dbf33026643c015c563b57572 (patch)
tree146e368636cf39e68a9ce6e127d2d8dc43a992e1 /runtime/map-gen.c
parentdf27664107205cccec6eacb890d6800db7ee95cc (diff)
downloadsystemtap-steved-66f95fac49b0789dbf33026643c015c563b57572.tar.gz
systemtap-steved-66f95fac49b0789dbf33026643c015c563b57572.tar.xz
systemtap-steved-66f95fac49b0789dbf33026643c015c563b57572.zip
2005-11-09 Martin Hunt <hunt@redhat.com>
* map.h (struct map_root): Delete fields used by old API. * map.c: Remove old map API functions. * map-stat.c (_stp_map_add_stat): Delete. (_stp_pmap_new_hstat_linear): Move here from map.c. (_stp_pmap_new_hstat_log): Ditto. * list.c: Deleted. * map-keys.c: Deleted. * map-values.c: Deleted. * map-int.c: Deleted.
Diffstat (limited to 'runtime/map-gen.c')
-rw-r--r--runtime/map-gen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/map-gen.c b/runtime/map-gen.c
index c6acb781..f3d65c4d 100644
--- a/runtime/map-gen.c
+++ b/runtime/map-gen.c
@@ -398,7 +398,6 @@ int KEYSYM(__stp_map_set) (MAP map, ALLKEYSD(key), VSTYPE val, int add)
struct hlist_head *head;
struct hlist_node *e;
struct KEYSYM(map_node) *n;
- int res;
if (map == NULL)
return -2;