terminal: drop redundant assertion

This assertion is already there two lines down. Drop the redundant
assertion.
This commit is contained in:
David Herrmann
2014-09-11 15:30:56 +02:00
parent 667b60341f
commit 393a5ba09f
-1
View File
@@ -858,7 +858,6 @@ static int managed_evdev_new(idev_element **out, idev_session *s, struct udev_de
int r;
assert_return(s, -EINVAL);
assert_return(s->context->sysbus, -EINVAL);
assert_return(s->managed, -EINVAL);
assert_return(s->context->sysbus, -EINVAL);
assert_return(ud, -EINVAL);