diff --git a/src/inotify-map.c b/src/inotify-map.c index bf6c1dd..5f3e339 100644 --- a/src/inotify-map.c +++ b/src/inotify-map.c @@ -211,14 +211,6 @@ char** inotify_map_get_path(int wd) { return out; } -char** inotify_map_lookup_by_path(const char *path) { - - int wd = inotify_map_get_wd(path); - if (wd) - return inotify_map_get_path(wd); - return NULL; -} - int inotify_map_isempty() { return rbtree_is_empty(&tree_wd_paths) diff --git a/src/inotify-map.h b/src/inotify-map.h index a136444..6efe5fa 100644 --- a/src/inotify-map.h +++ b/src/inotify-map.h @@ -23,8 +23,6 @@ int inotify_map_get_wd(const char *path); char** inotify_map_get_path(int wd); -char** inotify_map_lookup_by_path(const char *path); - int inotify_map_isempty(); #endif /* __INOTIFY_MAP_H */