aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/resource.c')
-rw-r--r--kernel/resource.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/resource.c b/kernel/resource.c
index 78071fb10f965..35c99ac02c7cf 100644
--- a/kernel/resource.c
+++ b/kernel/resource.c
@@ -505,7 +505,6 @@ void __release_region(struct resource *parent, unsigned long start, unsigned lon
*p = res->sibling;
write_unlock(&resource_lock);
kfree(res);
- res = NULL;
return;
}
p = &res->sibling;