chiark / gitweb /
terminal: drop redundant assertion
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 11 Sep 2014 13:30:56 +0000 (15:30 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 11 Sep 2014 13:30:56 +0000 (15:30 +0200)
This assertion is already there two lines down. Drop the redundant
assertion.

src/libsystemd-terminal/idev-evdev.c

index 241743c3fdc7fafb0c9c5b2eabbd2acd88cabb16..6509d1011e59e1f5e6738e651240fafad52be6b8 100644 (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);