From: David Herrmann Date: Thu, 11 Sep 2014 13:30:56 +0000 (+0200) Subject: terminal: drop redundant assertion X-Git-Tag: v217~600 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=393a5ba09f7c5360d2e5066c23d43bb82d856173 terminal: drop redundant assertion This assertion is already there two lines down. Drop the redundant assertion. --- diff --git a/src/libsystemd-terminal/idev-evdev.c b/src/libsystemd-terminal/idev-evdev.c index 241743c3f..6509d1011 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);