mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-03-24 01:24:12 +00:00
sna: sna_display: drop unused variable "sna"
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -3120,7 +3120,6 @@ static Bool
|
||||
sna_crtc_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
|
||||
Rotation rotation, int x, int y)
|
||||
{
|
||||
struct sna *sna = to_sna(crtc->scrn);
|
||||
struct sna_crtc *sna_crtc = to_sna_crtc(crtc);
|
||||
struct drm_mode_modeinfo saved_kmode;
|
||||
char outputs[256];
|
||||
@@ -3136,9 +3135,6 @@ sna_crtc_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
|
||||
outputs_for_crtc(crtc, outputs, sizeof(outputs)), __sna_crtc_index(sna_crtc),
|
||||
x, y, rotation_to_str(rotation), reflection_to_str(rotation));
|
||||
|
||||
assert(mode->HDisplay <= sna->mode.max_crtc_width &&
|
||||
mode->VDisplay <= sna->mode.max_crtc_height);
|
||||
|
||||
#if HAS_GAMMA
|
||||
sna_crtc_gamma_set(crtc,
|
||||
crtc->gamma_red, crtc->gamma_green,
|
||||
|
||||
Reference in New Issue
Block a user