drm/atomic: fix warning of unused variable
authorGONG, Ruiqi <gongruiqi1@huawei.com>
Tue, 7 Jun 2022 11:08:48 +0000 (19:08 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 9 Jun 2022 14:09:46 +0000 (16:09 +0200)
commit4527d47bb63a134c4483a1a478d0ff5874b466c7
tree0cd419b96d010dcc16119812e72032bc75bf8234
parent477277c7fd43d48ae68cbdcaa7c0f82024a87421
drm/atomic: fix warning of unused variable

Fix the `unused-but-set-variable` warning as how other iteration
wrappers do.

Link: https://lore.kernel.org/all/202206071049.pofHsRih-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220607110848.941486-1-gongruiqi1@huawei.com
include/drm/drm_atomic.h