summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorAndrew Goodbody <[email protected]>2025-07-28 16:04:43 +0100
committerHeiko Schocher <[email protected]>2025-08-06 07:48:40 +0200
commitb68875656c3bad36c4d5b9f44b7689e3e1864e09 (patch)
tree18de89be59c7aba0f3001d3ea335bfedeccfb8b3 /include/linux/stringify.h
parent007610da2cca405ea7739fc120d90085be4b6ac2 (diff)
i2c: rcar_iic: Do not use unitialised variable
In rcar_iic_xfer if nmsgs == 0 the ret will not be assigned to. As ret will always be 0 if the for loop is entered, may as well just return 0. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <[email protected]> Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions