diff options
author | Imre Deak <imre.deak@intel.com> | 2021-04-13 02:24:13 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2021-04-14 14:09:45 +0300 |
commit | 770d4c71eca7285216dc862849564b33c0d6a210 (patch) | |
tree | f396324722a5ac3ca36973c31e5a7122cd4ef54a /drivers/gpu/drm/i915/display/intel_dp_link_training.c | |
parent | e42e7e585984b85b0fb9dd1fefc85ee4800ca629 (diff) |
drm/i915: Drop redundant address-of op before lttpr_common_caps array
The address-of op in front of an array is just an alias to using the
array on its own, so drop the op.
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210412232413.2755054-2-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_link_training.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_link_training.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_link_training.c b/drivers/gpu/drm/i915/display/intel_dp_link_training.c index cbcfb0c4c370..7f684d33314f 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_link_training.c +++ b/drivers/gpu/drm/i915/display/intel_dp_link_training.c @@ -37,7 +37,7 @@ intel_dp_dump_link_status(struct drm_device *drm, static void intel_dp_reset_lttpr_common_caps(struct intel_dp *intel_dp) { - memset(&intel_dp->lttpr_common_caps, 0, sizeof(intel_dp->lttpr_common_caps)); + memset(intel_dp->lttpr_common_caps, 0, sizeof(intel_dp->lttpr_common_caps)); } static void intel_dp_reset_lttpr_count(struct intel_dp *intel_dp) |