From b82ef283329eb2dc5bad0f2b2c3ebd3b845e0f35 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 4 Apr 2014 14:06:59 -0400 Subject: [PATCH] remove impossible/unnecessary randr rotation checks CID 1039944 --- src/modules/conf_randr/e_smart_monitor.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index d34d25647..1b5969351 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -1900,9 +1900,6 @@ _e_smart_monitor_orientation_get(int rotation) else if (((rotation - ROTATE_FUZZ) <= 270) || ((rotation + ROTATE_FUZZ) <= 270)) return ECORE_X_RANDR_ORIENTATION_ROT_270; - else if (((rotation - ROTATE_FUZZ) < 360) || - ((rotation + ROTATE_FUZZ) < 360)) - return ECORE_X_RANDR_ORIENTATION_ROT_0; /* return a default */ return ECORE_X_RANDR_ORIENTATION_ROT_0;