mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 09:01:36 -04:00
drm/i915/crt: Nuke unused crt->connector
crt->connector is never used, nuke it. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241107161123.16269-11-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -73,9 +73,6 @@
|
||||
|
||||
struct intel_crt {
|
||||
struct intel_encoder base;
|
||||
/* DPMS state is stored in the connector, which we need in the
|
||||
* encoder's enable/disable callbacks */
|
||||
struct intel_connector *connector;
|
||||
bool force_hotplug_required;
|
||||
i915_reg_t adpa_reg;
|
||||
};
|
||||
@@ -1067,8 +1064,6 @@ void intel_crt_init(struct intel_display *display)
|
||||
|
||||
ddc_pin = display->vbt.crt_ddc_pin;
|
||||
|
||||
crt->connector = connector;
|
||||
|
||||
drm_connector_init_with_ddc(display->drm, &connector->base,
|
||||
&intel_crt_connector_funcs,
|
||||
DRM_MODE_CONNECTOR_VGA,
|
||||
|
||||
Reference in New Issue
Block a user