backlight: Remove unnecessary and confusing NULL checks
authorRob Bradford <rob@linux.intel.com>
Wed, 5 Dec 2012 18:47:06 +0000 (18:47 +0000)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 7 Dec 2012 03:32:07 +0000 (22:32 -0500)
commit0b0be8eaf77366af5a108c7ec0d40c9a501231ea
treeed677bca7206a7488878d6e3f91d1f3d0bc6808e
parent26e009cd9cde4d1a82448cbb99fb68df5ef15b5e
backlight: Remove unnecessary and confusing NULL checks

At this point path must point to an allocated string since otherwise the
asprintf that makes the allocation would have failed and we would have
returned earlier.
src/libbacklight.c