Length is optional here when getting edid from output.
authorChristopher Michael <cp.michael@samsung.com>
Fri, 1 Feb 2013 11:50:59 +0000 (11:50 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Fri, 1 Feb 2013 11:50:59 +0000 (11:50 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83554

src/lib/ecore_x/xlib/ecore_x_randr.c

index 07338318470ceb138b18cd54f99d69710fca9e75..91ec935b0163f64548704932c9e68ffd445192b9 100644 (file)
@@ -2527,8 +2527,6 @@ ecore_x_randr_output_edid_get(Ecore_X_Window root EINA_UNUSED, Ecore_X_Randr_Out
 
    if (_randr_version < RANDR_VERSION_1_2) return NULL;
 
-   if (!length) return NULL;
-
    /* try to get the edid atom */
    if (!(edid = XInternAtom(_ecore_x_disp, RR_PROPERTY_RANDR_EDID, True))) 
      return NULL;