diff options
author | Yang Li <[email protected]> | 2022-02-14 20:47:01 +0800 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2022-02-15 10:11:33 +0100 |
commit | 1e4fe5430bd791fb2a2d7b41ac25d1aaa5d0726a (patch) | |
tree | c6096a42f63480bcdccc4b1b6cea9ece066cf819 | |
parent | 531310dd5d9f78b5d9e28e742d55c775f114ad5a (diff) |
i2c: designware: remove unneeded semicolon
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 <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Acked-by: Jarkko Nikula <[email protected]>
Reviewed-by: Jan Dabros <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
-rw-r--r-- | drivers/i2c/busses/i2c-designware-amdpsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-designware-amdpsp.c b/drivers/i2c/busses/i2c-designware-amdpsp.c index 752e0024db03..9d37becbd846 100644 --- a/drivers/i2c/busses/i2c-designware-amdpsp.c +++ b/drivers/i2c/busses/i2c-designware-amdpsp.c @@ -172,7 +172,7 @@ static int check_i2c_req_sts(struct psp_i2c_req *req) case PSP_I2C_REQ_STS_INV_PARAM: default: return -EIO; - }; + } } static int psp_send_check_i2c_req(struct psp_i2c_req *req) @@ -245,7 +245,7 @@ static int psp_acquire_i2c_bus(void) if (psp_i2c_access_count) { psp_i2c_access_count++; goto cleanup; - }; + } status = psp_send_i2c_req(PSP_I2C_REQ_ACQUIRE); if (status) { |