hwc: remove the unused code 06/193206/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 16 Nov 2018 03:52:30 +0000 (12:52 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 16 Nov 2018 03:52:30 +0000 (12:52 +0900)
Change-Id: I0f00c907ef413ce26373e2d915dd1e54588b21aa

src/tdm_sprd_hwc_window.c

index 5b1e169cfa44b232f9ddafccf2e8805955b8b63e..45ef28bd081055dfb9bca8d439d8f960b3ed0394 100644 (file)
@@ -4,23 +4,6 @@
 
 #include "tdm_sprd.h"
 
-#if 0
-static const char *
-_sprd_comp_to_str(tdm_hwc_window_composition composition_type)
-{
-       if (composition_type == TDM_HWC_WIN_COMPOSITION_CLIENT)
-               return "CLIENT";
-       else if (composition_type == TDM_HWC_WIN_COMPOSITION_DEVICE)
-               return "DEVICE";
-       else if (composition_type == TDM_HWC_WIN_COMPOSITION_CURSOR)
-               return "CURSOR";
-       else if (composition_type == TDM_HWC_WIN_COMPOSITION_NONE)
-               return "NONE";
-
-       return "unknown";
-}
-#endif
-
 void
 sprd_hwc_window_destroy(tdm_hwc_window *hwc_window)
 {