drivers/usb/typec/ucsi/ucsi_glink.c:258:2-3: Unneeded semicolon

From: kernel test robot
Date: Mon Jan 08 2024 - 02:01:30 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0dd3ee31125508cd67f7e7172247f05b7fd1753a
commit: 62b5412b1f4afab27d8df90ddcabb8e1e11a00ad usb: typec: ucsi: add PMIC Glink UCSI driver
date: 10 months ago
config: i386-randconfig-052-20240106 (https://download.01.org/0day-ci/archive/20240108/202401081453.4Ff5FBfw-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.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/202401081453.4Ff5FBfw-lkp@xxxxxxxxx/

cocci warnings: (new ones prefixed by >>)
>> drivers/usb/typec/ucsi/ucsi_glink.c:258:2-3: Unneeded semicolon

vim +258 drivers/usb/typec/ucsi/ucsi_glink.c

242
243 static void pmic_glink_ucsi_callback(const void *data, size_t len, void *priv)
244 {
245 struct pmic_glink_ucsi *ucsi = priv;
246 const struct pmic_glink_hdr *hdr = data;
247
248 switch (hdr->opcode) {
249 case UC_UCSI_READ_BUF_REQ:
250 pmic_glink_ucsi_read_ack(ucsi, data, len);
251 break;
252 case UC_UCSI_WRITE_BUF_REQ:
253 pmic_glink_ucsi_write_ack(ucsi, data, len);
254 break;
255 case UC_UCSI_USBC_NOTIFY_IND:
256 schedule_work(&ucsi->notify_work);
257 break;
> 258 };
259 }
260

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