diff options
author | Amit Kushwaha <akkushwaha9896@gmail.com> | 2016-12-06 10:19:48 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-12-16 06:53:55 -0800 |
commit | b6621df5c87603310c3f94903bb30adbfeb9aa69 (patch) | |
tree | 8c7fb64a26c3e6fb6137910786f97f6c934cbe19 /virt | |
parent | 72106c1894aa4e26ab403282cc7617fcb07d3d4d (diff) | |
download | lwn-b6621df5c87603310c3f94903bb30adbfeb9aa69.tar.gz lwn-b6621df5c87603310c3f94903bb30adbfeb9aa69.zip |
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 'virt')
0 files changed, 0 insertions, 0 deletions