chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
667b603
)
terminal: drop redundant assertion
author
David Herrmann
<dh.herrmann@gmail.com>
Thu, 11 Sep 2014 13:30:56 +0000
(15:30 +0200)
committer
David 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
patch
|
blob
|
history
diff --git
a/src/libsystemd-terminal/idev-evdev.c
b/src/libsystemd-terminal/idev-evdev.c
index 241743c3fdc7fafb0c9c5b2eabbd2acd88cabb16..6509d1011e59e1f5e6738e651240fafad52be6b8 100644
(file)
--- 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);