ecore_drm: Check list presence by NULL test instead of counting
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 18 Feb 2016 19:34:23 +0000 (13:34 -0600)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 18 Feb 2016 20:50:16 +0000 (15:50 -0500)
commitfbf8ee656c4733d283527597cb9b7270fe503807
treee53a017e0ee8f77641b52d814cec0303b90b1a1e
parentd53e1d6748f07f46e9c6abc791651cdc78c0bc86
ecore_drm: Check list presence by NULL test instead of counting

a count of < 1 will just be a NULL pointer, and a count of > 0 will
be non NULL, so we can simplify these conditionals.
src/lib/ecore_drm/ecore_drm_output.c