diff mbox series

drm/i915/migrate: fix semicolon.cocci warnings

Message ID YlrVLyuawZpSaX0d@5ed11234ca28 (mailing list archive)
State New, archived
Headers show
Series drm/i915/migrate: fix semicolon.cocci warnings | expand

Commit Message

kernel test robot April 16, 2022, 2:39 p.m. UTC
From: kernel test robot <lkp@intel.com>

drivers/gpu/drm/i915/gt/intel_migrate.c:643:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: da0595ae91da ("drm/i915/migrate: Evict and restore the flatccs capable lmem obj")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   git://anongit.freedesktop.org/drm-intel for-linux-next-gt
head:   bcfc713f11f957711f9494f69c740b95ed335d57
commit: da0595ae91da837929a00470ab40546090e5b9ae [9/9] drm/i915/migrate: Evict and restore the flatccs capable lmem obj
:::::: branch date: 14 hours ago
:::::: commit date: 2 days ago

 drivers/gpu/drm/i915/gt/intel_migrate.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

--- a/drivers/gpu/drm/i915/gt/intel_migrate.c
+++ b/drivers/gpu/drm/i915/gt/intel_migrate.c
@@ -640,7 +640,7 @@  static int scatter_list_length(struct sc
 	while (sg && sg_dma_len(sg)) {
 		len += sg_dma_len(sg);
 		sg = sg_next(sg);
-	};
+	}
 
 	return len;
 }