From 2166728911012eaec91ede11a4cebdac0ba5a81a Mon Sep 17 00:00:00 2001 From: Jakub Jermar Date: Tue, 4 Apr 2017 23:39:57 +0200 Subject: [PATCH] Remove superfluous assert --- uspace/lib/fs/libfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/uspace/lib/fs/libfs.c b/uspace/lib/fs/libfs.c index a43569fbb..7930ff76f 100644 --- a/uspace/lib/fs/libfs.c +++ b/uspace/lib/fs/libfs.c @@ -520,8 +520,6 @@ void libfs_lookup(libfs_ops_t *ops, fs_handle_t fs_handle, ipc_callid_t rid, fs_index_t index = IPC_GET_ARG4(*req); int lflag = IPC_GET_ARG5(*req); - assert((int) index != -1); - // TODO: Validate flags. unsigned next = first; -- 2.11.4.GIT