summaryrefslogtreecommitdiff
path: root/drivers/watchdog/loongson1_wdt.c
diff options
context:
space:
mode:
authorAmit Kushwaha <akkushwaha9896@gmail.com>2016-12-06 21:19:48 +0300
committerGuenter Roeck <linux@roeck-us.net>2016-12-16 17:53:55 +0300
commitb6621df5c87603310c3f94903bb30adbfeb9aa69 (patch)
tree8c7fb64a26c3e6fb6137910786f97f6c934cbe19 /drivers/watchdog/loongson1_wdt.c
parent72106c1894aa4e26ab403282cc7617fcb07d3d4d (diff)
downloadlinux-b6621df5c87603310c3f94903bb30adbfeb9aa69.tar.xz
watchdog: cpwd: remove memory allocate failure message
Replaced goto with a return statement and dropped the kfree() calls because memory allocated with devm_kzalloc() is automatically freed on driver detach Signed-off-by: Amit Kushwaha <akkushwaha9896@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/watchdog/loongson1_wdt.c')
0 files changed, 0 insertions, 0 deletions