drivers/gpu/drm/xe/xe_rtp.c:151:2-3: Unneeded semicolon

From: kernel test robot
Date: Sat Sep 14 2024 - 23:18:42 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0babf683783ddca06551537c6781e413cfe8d27b
commit: 72906d340b60f3dae545deef77376a0f598bece7 drm/xe/rtp: Split rtp process initialization
date: 9 months ago
config: alpha-randconfig-r062-20240915 (https://download.01.org/0day-ci/archive/20240915/202409151152.pJ4ukp5k-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 13.3.0

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409151152.pJ4ukp5k-lkp@xxxxxxxxx/

cocci warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/xe/xe_rtp.c:151:2-3: Unneeded semicolon

vim +151 drivers/gpu/drm/xe/xe_rtp.c

134
135 static void rtp_get_context(struct xe_rtp_process_ctx *ctx,
136 struct xe_hw_engine **hwe,
137 struct xe_gt **gt,
138 struct xe_device **xe)
139 {
140 switch (ctx->type) {
141 case XE_RTP_PROCESS_TYPE_GT:
142 *hwe = NULL;
143 *gt = ctx->gt;
144 *xe = gt_to_xe(*gt);
145 break;
146 case XE_RTP_PROCESS_TYPE_ENGINE:
147 *hwe = ctx->hwe;
148 *gt = (*hwe)->gt;
149 *xe = gt_to_xe(*gt);
150 break;
> 151 };
152 }
153

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki