summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-02-06 10:03:02 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-02-06 10:03:02 -0500
commit3999a975798043d7b6a716346db25a9c3c462199 (patch)
tree63c890b732550f2b080214b3916ff6f39bb31189 /src/lib/ecore_drm2
parent65bf9c6e0f9e89910e2a685eeabc96b2d0a98cc3 (diff)
ecore-drm2: Reduce duplicated code
No need for this line to be there twice as it is going to be called in either case. NB: No functional changes
Diffstat (limited to 'src/lib/ecore_drm2')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index 92551d0d72..a28e1a3395 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -859,14 +859,14 @@ next:
859 { 859 {
860 output->connected = EINA_FALSE; 860 output->connected = EINA_FALSE;
861 output->enabled = EINA_FALSE; 861 output->enabled = EINA_FALSE;
862 _output_event_send(output);
863 } 862 }
864 else 863 else
865 { 864 {
866 output->connected = EINA_TRUE; 865 output->connected = EINA_TRUE;
867 output->enabled = EINA_TRUE; 866 output->enabled = EINA_TRUE;
868 _output_event_send(output);
869 } 867 }
868
869 _output_event_send(output);
870 } 870 }
871 free(connected); 871 free(connected);
872} 872}