summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-09-11 15:30:56 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-09-11 15:30:56 +0200
commit393a5ba09f7c5360d2e5066c23d43bb82d856173 (patch)
treefea0a4eb4dccada51f9757052f23e2b5866310dd /src/libsystemd-terminal
parent667b60341f404d8f18aa0909e34d39e7d6baa56b (diff)
terminal: drop redundant assertion
This assertion is already there two lines down. Drop the redundant assertion.
Diffstat (limited to 'src/libsystemd-terminal')
-rw-r--r--src/libsystemd-terminal/idev-evdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsystemd-terminal/idev-evdev.c b/src/libsystemd-terminal/idev-evdev.c
index 241743c3fd..6509d1011e 100644
--- a/src/libsystemd-terminal/idev-evdev.c
+++ b/src/libsystemd-terminal/idev-evdev.c
@@ -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);