Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc50a890 authored by Ilija Hadzic's avatar Ilija Hadzic Committed by Dave Airlie
Browse files

drm: remove redundant if statement

parent 39868bd7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -822,7 +822,6 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
		set->crtc->y = set->y;

		old_fb = set->crtc->fb;
		if (set->crtc->fb != set->fb)
		set->crtc->fb = set->fb;
		ret = crtc_funcs->mode_set_base(set->crtc,
						set->x, set->y, old_fb);