Eliminate the following coccicheck warnings:
./drivers/i2c/busses/i2c-designware-amdpsp.c:172:2-3: Unneeded semicolon
./drivers/i2c/busses/i2c-designware-amdpsp.c:245:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Jan Dabros <jsd@semihalf.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
case PSP_I2C_REQ_STS_INV_PARAM:
default:
return -EIO;
- };
+ }
}
static int psp_send_check_i2c_req(struct psp_i2c_req *req)
if (psp_i2c_access_count) {
psp_i2c_access_count++;
goto cleanup;
- };
+ }
status = psp_send_i2c_req(PSP_I2C_REQ_ACQUIRE);
if (status) {