public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "José Roberto de Souza" <jose.souza@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 2/2] lib/psr: Remove unused function
Date: Wed, 23 Oct 2019 14:50:31 -0700	[thread overview]
Message-ID: <20191023215031.94821-2-jose.souza@intel.com> (raw)
In-Reply-To: <20191023215031.94821-1-jose.souza@intel.com>

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

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2019-10-23 21:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-23 21:50 [igt-dev] [PATCH i-g-t 1/2] lib/psr: Skip PSR tests if sink not reliable José Roberto de Souza
2019-10-23 21:50 ` José Roberto de Souza [this message]
2019-10-23 22:33 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2019-10-24 15:00 ` [igt-dev] [PATCH i-g-t 1/2] " Matt Roper
2019-10-24 23:15   ` Souza, Jose
2019-10-24 18:05 ` [igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/2] " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191023215031.94821-2-jose.souza@intel.com \
    --to=jose.souza@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox