diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-09-11 15:30:56 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-09-11 15:30:56 +0200 |
commit | 393a5ba09f7c5360d2e5066c23d43bb82d856173 (patch) | |
tree | fea0a4eb4dccada51f9757052f23e2b5866310dd /src/libsystemd-terminal/idev-evdev.c | |
parent | 667b60341f404d8f18aa0909e34d39e7d6baa56b (diff) | |
download | systemd-393a5ba09f7c5360d2e5066c23d43bb82d856173.tar.gz |
terminal: drop redundant assertion
This assertion is already there two lines down. Drop the redundant
assertion.
Diffstat (limited to 'src/libsystemd-terminal/idev-evdev.c')
-rw-r--r-- | src/libsystemd-terminal/idev-evdev.c | 1 |
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); |