diff options
-rw-r--r-- | usr.bin/make/lst.lib/lstDeQueue.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/make/lst.lib/lstDeQueue.c b/usr.bin/make/lst.lib/lstDeQueue.c index 2e3bf83..961411c 100644 --- a/usr.bin/make/lst.lib/lstDeQueue.c +++ b/usr.bin/make/lst.lib/lstDeQueue.c @@ -75,9 +75,6 @@ Lst_DeQueue(Lst *l) } rd = tln->datum; - if (Lst_Remove(l, tln) == FAILURE) { - return (NULL); - } else { - return (rd); - } + Lst_Remove(l, tln); + return (rd); } |