udev/collect: remove dead conditional

Coverity rightly says that 'word' is assigned to 'ptr', and 'word'
was assigned from 'ptr' (yikes) right after a non-null check.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-11-28 21:34:50 +01:00
parent 2504834861
commit 3176084ff2
-2
View File
@@ -188,8 +188,6 @@ static int checkout(int fd)
if (!ptr)
ptr = word;
if (!ptr)
break;
ptr -= len;
}