diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-08-19 20:26:53 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-08-20 21:42:13 +0200 |
commit | 9a5aeaad73ece38c77bc4c955ab3c9a4c5e3277f (patch) | |
tree | 5e3c878a39cac7860d2df5cd9d18049725c9ce7f /drivers/rtc/sysfs.c | |
parent | 9126a2b16b678fd14fa2171e2f05395ecb229a2c (diff) |
rtc: pcf2123: remove useless error path goto
kfree_exit only returns ret, remove it. This also fixes the
devm_regmap_init_spi error case where the probe wouldn't actually fail
because ret is initialized to 0.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20190819182656.29744-6-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/sysfs.c')
0 files changed, 0 insertions, 0 deletions