diff options
author | ye xingchen <ye.xingchen@zte.com.cn> | 2022-09-05 12:01:19 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-11-15 23:01:51 +0300 |
commit | f8513363b0b7155afaee09cca777fc608dc957e3 (patch) | |
tree | 787fe2a2ca4fc50b156822e75e2493920c89de18 /drivers/rtc/rtc-at91rm9200.c | |
parent | c69bffe199270ce001d5764985a8e414c7e05fee (diff) | |
download | linux-f8513363b0b7155afaee09cca777fc608dc957e3.tar.xz |
rtc: s35390a: Remove the unneeded result variable
Return the value s35390a_set_reg() directly instead of storing it in
another redundant variable.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220905090119.335121-1-ye.xingchen@zte.com.cn
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-at91rm9200.c')
0 files changed, 0 insertions, 0 deletions