projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e42e7e5
)
drm/i915: Drop redundant address-of op before lttpr_common_caps array
author
Imre Deak
<imre.deak@intel.com>
Mon, 12 Apr 2021 23:24:13 +0000
(
02:24
+0300)
committer
Imre Deak
<imre.deak@intel.com>
Wed, 14 Apr 2021 11:09:45 +0000
(14:09 +0300)
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
drivers/gpu/drm/i915/display/intel_dp_link_training.c
patch
|
blob
|
history
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 cbcfb0c4c370811c6223c24c5b9afcfe262f994c..7f684d33314f9bd942ec05b550c8e08eb161cacb 100644
(file)
--- 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)