[igt-dev] [PATCH i-g-t 2/2] lib/psr: Remove unused function

José Roberto de Souza
2019-10-23T21:50:36Z

This function is a left-over from some versions of the patches
preparing igt_psr for PSR2 tests and it is not needed.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
---
lib/igt_psr.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/lib/igt_psr.c b/lib/igt_psr.c
index 0e79dcd9..6d192689 100644
--- a/lib/igt_psr.c
+++ b/lib/igt_psr.c
@@ -38,11 +38,6 @@ static bool psr_active_check(int debugfs_fd, enum psr_mode mode)
return strstr(buf, state);
}

-static inline const char *psr_active_state_get(enum psr_mode mode)
-{
- return mode == PSR_MODE_1 ? "SRDENT" : "DEEP_SLEEP";
-}
-
/*
* For PSR1, we wait until PSR is active. We wait until DEEP_SLEEP for PSR2.
*/
--
2.23.0