All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexander.deucher@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: Alex Deucher <alexander.deucher@amd.com>,
	kernel test robot <lkp@intel.com>
Subject: [PATCH 2/2] drm/amd/display: make get_refresh_rate() static
Date: Wed, 6 Jul 2022 10:08:42 -0400	[thread overview]
Message-ID: <20220706140842.116064-2-alexander.deucher@amd.com> (raw)
In-Reply-To: <20220706140842.116064-1-alexander.deucher@amd.com>

It's not used outside of dcn30_resource.c.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
index 4f684235a413..7f01463942fb 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
@@ -1899,7 +1899,7 @@ noinline bool dcn30_internal_validate_bw(
 	return out;
 }
 
-int get_refresh_rate(struct dc_state *context)
+static int get_refresh_rate(struct dc_state *context)
 {
 	int refresh_rate = 0;
 	int h_v_total = 0;
-- 
2.35.3


  reply	other threads:[~2022-07-06 14:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-06 14:08 [PATCH 1/2] drm/amd/display: remove set but unused variable Alex Deucher
2022-07-06 14:08 ` Alex Deucher [this message]
2022-07-06 14:54   ` [PATCH 2/2] drm/amd/display: make get_refresh_rate() static Harry Wentland

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=20220706140842.116064-2-alexander.deucher@amd.com \
    --to=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=lkp@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.