@@ -646,7 +646,7 @@ static unsigned int intel_bw_crtc_num_active_planes(const struct intel_crtc_stat
{
/*
* We assume cursors are small enough
- * to not not cause bandwidth problems.
+ * to not cause bandwidth problems.
*/
return hweight8(crtc_state->active_planes & ~BIT(PLANE_CURSOR));
}
@@ -661,7 +661,7 @@ static unsigned int intel_bw_crtc_data_rate(const struct intel_crtc_state *crtc_
for_each_plane_id_on_crtc(crtc, plane_id) {
/*
* We assume cursors are small enough
- * to not not cause bandwidth problems.
+ * to not cause bandwidth problems.
*/
if (plane_id == PLANE_CURSOR)
continue;
Remove the repeated word "not" in comments. Signed-off-by: Bo Liu <liubo03@inspur.com> --- drivers/gpu/drm/i915/display/intel_bw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)