Skip to content

Commit c294d37

Browse files
committed
drm/i915/dpll: drop unused but set variables bestn and bestm1
Prepare for re-enabling -Wunused-but-set-variable. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/a85ccc8c0f451fcb997b4ac138dbeba2a653cebe.1685119007.git.jani.nikula@intel.com
1 parent 1fdac12 commit c294d37

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

drivers/gpu/drm/i915/display/intel_dpll.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,13 +1793,11 @@ static void chv_prepare_pll(const struct intel_crtc_state *crtc_state)
17931793
enum pipe pipe = crtc->pipe;
17941794
enum dpio_channel port = vlv_pipe_to_channel(pipe);
17951795
u32 loopfilter, tribuf_calcntr;
1796-
u32 bestn, bestm1, bestm2, bestp1, bestp2, bestm2_frac;
1796+
u32 bestm2, bestp1, bestp2, bestm2_frac;
17971797
u32 dpio_val;
17981798
int vco;
17991799

1800-
bestn = crtc_state->dpll.n;
18011800
bestm2_frac = crtc_state->dpll.m2 & 0x3fffff;
1802-
bestm1 = crtc_state->dpll.m1;
18031801
bestm2 = crtc_state->dpll.m2 >> 22;
18041802
bestp1 = crtc_state->dpll.p1;
18051803
bestp2 = crtc_state->dpll.p2;

0 commit comments

Comments
 (0)