Skip to content
Commit b6621df5 authored by Amit Kushwaha's avatar Amit Kushwaha Committed by Guenter Roeck
Browse files

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: default avatarAmit Kushwaha <akkushwaha9896@gmail.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 72106c18
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment