drm/gma500: Remove unused mrst_helper_funcs
Subsystems (3)
PATCH 1/1 drm/gma500: Remove unused mrst_helper_funcs
From: "Dr. David Alan Gilbert" <[email protected]>
The mrst_helper_funcs const was added in 2013 by
commit ac6113ebb70d ("drm/gma500/mrst: Add SDVO clock calculation") and commented as 'Not used yet'.
It's not been used since, so remove it.
--- drivers/gpu/drm/gma500/oaktrail_crtc.c | 7 ------- 1 file changed, 7 deletions(-)
drivers/gpu/drm/gma500/oaktrail_crtc.c +0 -7
@@ -658,10 +658,3 @@ const struct drm_crtc_helper_funcs oaktrail_helper_funcs = { .prepare = gma_crtc_prepare, .commit = gma_crtc_commit, }; - -/* Not used yet */ -const struct gma_clock_funcs mrst_clock_funcs = { - .clock = mrst_lvds_clock, - .limit = mrst_limit, - .pll_is_valid = gma_pll_is_valid, -};
Signature · 1 line
2.48.1
Patrik Jakobsson
maintainerQuoted 8 lines · On Sat, Feb 1, 2025 at 2:14 AM <[email protected]> wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
The
mrst_helper_funcsconst was added in 2013 by
commitac6113ebb70d("drm/gma500/mrst: Add SDVO clock calculation") and commented as 'Not used yet'.It's not been used since, so remove it.
You talk about mrst_helper_funcs but the patch removes mrst_clock_funcs. I assume this is not intentional.
-Patrik
Quoted 24 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- drivers/gpu/drm/gma500/oaktrail_crtc.c | 7 ------- 1 file changed, 7 deletions(-)drivers/gpu/drm/gma500/oaktrail_crtc.c +0
-8@@ -658,10 +658,3 @@ const struct drm_crtc_helper_funcs oaktrail_helper_funcs = { .prepare = gma_crtc_prepare, .commit = gma_crtc_commit, }; - -/* Not used yet */ -const struct gma_clock_funcs mrst_clock_funcs = { - .clock = mrst_lvds_clock, - .limit = mrst_limit, - .pll_is_valid = gma_pll_is_valid, -}; --2.48.1
Quoted 9 lines · * Patrik Jakobsson ([email protected]) wrote:
Quoted 8 lines · On Sat, Feb 1, 2025 at 2:14 AM <[email protected]> wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
The
mrst_helper_funcsconst was added in 2013 by
commitac6113ebb70d("drm/gma500/mrst: Add SDVO clock calculation") and commented as 'Not used yet'.It's not been used since, so remove it.
Hi Patrik,
Quoted 2 lines
You talk about
mrst_helper_funcsbut the patch removesmrst_clock_funcs. I assume this is not intentional.
Oops! Thanks for spotting that, I'll send a v2 fixing the commit message; I think I was intending to write something like 'the helper functions it references are still used elsewhere.'
v2 coming up soon.
Dave
Quoted 27 lines
-Patrik
Quoted 24 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- drivers/gpu/drm/gma500/oaktrail_crtc.c | 7 ------- 1 file changed, 7 deletions(-)drivers/gpu/drm/gma500/oaktrail_crtc.c +0
-8@@ -658,10 +658,3 @@ const struct drm_crtc_helper_funcs oaktrail_helper_funcs = { .prepare = gma_crtc_prepare, .commit = gma_crtc_commit, }; - -/* Not used yet */ -const struct gma_clock_funcs mrst_clock_funcs = { - .clock = mrst_lvds_clock, - .limit = mrst_limit, - .pll_is_valid = gma_pll_is_valid, -}; --2.48.1
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Quoted 13 lines · * Dr. David Alan Gilbert ([email protected]) wrote:
Quoted 9 lines · * Patrik Jakobsson ([email protected]) wrote:
Quoted 8 lines · On Sat, Feb 1, 2025 at 2:14 AM <[email protected]> wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
The
mrst_helper_funcsconst was added in 2013 by
commitac6113ebb70d("drm/gma500/mrst: Add SDVO clock calculation") and commented as 'Not used yet'.It's not been used since, so remove it.
Hi Patrik,
Quoted 8 lines
Quoted 2 lines
You talk about
mrst_helper_funcsbut the patch removesmrst_clock_funcs. I assume this is not intentional.Oops! Thanks for spotting that, I'll send a v2 fixing the commit message; I think I was intending to write something like 'the helper functions it references are still used elsewhere.'
v2 coming up soon.
See message [email protected].
Thanks again,
Dave
Quoted 35 lines
Dave
Quoted 27 lines
-Patrik
Quoted 24 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- drivers/gpu/drm/gma500/oaktrail_crtc.c | 7 ------- 1 file changed, 7 deletions(-)drivers/gpu/drm/gma500/oaktrail_crtc.c +0
-8@@ -658,10 +658,3 @@ const struct drm_crtc_helper_funcs oaktrail_helper_funcs = { .prepare = gma_crtc_prepare, .commit = gma_crtc_commit, }; - -/* Not used yet */ -const struct gma_clock_funcs mrst_clock_funcs = { - .clock = mrst_lvds_clock, - .limit = mrst_limit, - .pll_is_valid = gma_pll_is_valid, -}; --2.48.1
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/