]>
err.no Git - linux-2.6/blobdiff - arch/ppc/syslib/prom.c
if (!res)
return -ENODEV;
if (!res)
return -ENODEV;
- if (res->name) {
- kfree(res->name);
- res->name = NULL;
- }
+ kfree(res->name);
+ res->name = NULL;
release_resource(res);
kfree(res);
release_resource(res);
kfree(res);