diff options
-rw-r--r-- | kernel/resource.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/resource.c b/kernel/resource.c index 77bf11a86c7d..3f285dce9347 100644 --- a/kernel/resource.c +++ b/kernel/resource.c | |||
@@ -449,7 +449,6 @@ static int __find_resource(struct resource *root, struct resource *old, | |||
449 | struct resource *this = root->child; | 449 | struct resource *this = root->child; |
450 | struct resource tmp = *new, avail, alloc; | 450 | struct resource tmp = *new, avail, alloc; |
451 | 451 | ||
452 | tmp.flags = new->flags; | ||
453 | tmp.start = root->start; | 452 | tmp.start = root->start; |
454 | /* | 453 | /* |
455 | * Skip past an allocated resource that starts at 0, since the assignment | 454 | * Skip past an allocated resource that starts at 0, since the assignment |