OpenCloudOS-Kernel/drivers/i3c/master
Colin Ian King 436cb709f8 i3c: master: svc: remove redundant assignment to cmd->read_len
The assignment of xfer_len to cmd->read_len appears to be redundant
as the next statement re-assigns the value 0 to it.  Clean up the
code by removing the redundant first assignment.

Addresses-Coverity: ("Unused value")
Fixes: dd3c52846d ("i3c: master: svc: Add Silvaco I3C master driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210224151349.202332-1-colin.king@canonical.com
2021-03-09 21:13:31 +01:00
..
mipi-i3c-hci i3c/master/mipi-i3c-hci: Fix position of __maybe_unused in i3c_hci_of_match 2020-12-31 18:41:37 +01:00
Kconfig i3c: master: svc: Add Silvaco I3C master driver 2021-02-06 00:43:29 +01:00
Makefile i3c: master: svc: Add Silvaco I3C master driver 2021-02-06 00:43:29 +01:00
dw-i3c-master.c i3c: master: dw: Drop redundant disec call 2021-02-06 00:44:15 +01:00
i3c-master-cdns.c i3c: master: Fix error return in cdns_i3c_master_probe() 2020-10-07 15:14:07 +02:00
svc-i3c-master.c i3c: master: svc: remove redundant assignment to cmd->read_len 2021-03-09 21:13:31 +01:00