From: Chris Michael Date: Mon, 20 Nov 2017 12:51:50 +0000 (-0500) Subject: elput: Remove unreachable code X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~1599 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e1806521ec5bdac53b907011534d5ff64e35e99;p=platform%2Fupstream%2Fefl.git elput: Remove unreachable code As we are returning the evdev above, this block is unreachable so remove it. Fixes Coverity CID1382857 @fix Signed-off-by: Chris Michael --- diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c index 4943c45..91bbbb2 100644 --- a/src/lib/elput/elput_evdev.c +++ b/src/lib/elput/elput_evdev.c @@ -1735,10 +1735,6 @@ _evdev_device_create(Elput_Seat *seat, struct libinput_device *device) } return edev; - - eina_stringshare_del(edev->output_name); - free(edev); - return NULL; } void