Unverified Commit 4527d47b authored by GONG, Ruiqi's avatar GONG, Ruiqi Committed by Maxime Ripard
Browse files

drm/atomic: fix warning of unused variable

parent 477277c7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1022,6 +1022,7 @@ void drm_state_dump(struct drm_device *dev, struct drm_printer *p);
	for ((__i) = 0; \
	     (__i) < (__state)->num_private_objs && \
		     ((obj) = (__state)->private_objs[__i].ptr, \
		      (void)(obj) /* Only to avoid unused-but-set-variable warning */, \
		      (new_obj_state) = (__state)->private_objs[__i].new_state, 1); \
	     (__i)++)