Skip to content

Commit

Permalink
drm/i915: stop for_each_intel_crtc_masked macro from leaking
Browse files Browse the repository at this point in the history
Spotted while changing related code.

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Daniel Vetter committed Apr 29, 2013
1 parent e29c22c commit 0973f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -7943,7 +7943,7 @@ intel_modeset_update_state(struct drm_device *dev, unsigned prepare_pipes)
list_for_each_entry((intel_crtc), \
&(dev)->mode_config.crtc_list, \
base.head) \
if (mask & (1 <<(intel_crtc)->pipe)) \
if (mask & (1 <<(intel_crtc)->pipe))

static bool
intel_pipe_config_compare(struct intel_crtc_config *current_config,
Expand Down

0 comments on commit 0973f18

Please sign in to comment.