Commit 227fab1
i3c: master: svc: fix returnvar.cocci warning
Fix the following coccicheck warning:
drivers/i3c/master/svc-i3c-master.c:1600:5-8:
Unneeded variable: "ret". Return "0" on line 1605.
Signed-off-by: Guo Zhengkui <[email protected]>
Reviewed-by: Miquel Raynal <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent c157a60 commit 227fab1
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1597 | 1597 | | |
1598 | 1598 | | |
1599 | 1599 | | |
1600 | | - | |
1601 | 1600 | | |
1602 | 1601 | | |
1603 | 1602 | | |
1604 | 1603 | | |
1605 | | - | |
| 1604 | + | |
1606 | 1605 | | |
1607 | 1606 | | |
1608 | 1607 | | |
| |||
0 commit comments