aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sparc/kernel/of_device.c3
-rw-r--r--arch/sparc64/kernel/of_device.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/sparc/kernel/of_device.c b/arch/sparc/kernel/of_device.c
index 798b140fabeb..48c24f7518c2 100644
--- a/arch/sparc/kernel/of_device.c
+++ b/arch/sparc/kernel/of_device.c
@@ -550,9 +550,6 @@ static void __init build_device_resources(struct of_device *op,
550 r->start = result & 0xffffffff; 550 r->start = result & 0xffffffff;
551 r->end = result + size - 1; 551 r->end = result + size - 1;
552 r->flags = flags | ((result >> 32ULL) & 0xffUL); 552 r->flags = flags | ((result >> 32ULL) & 0xffUL);
553 } else {
554 r->start = ~0UL;
555 r->end = ~0UL;
556 } 553 }
557 r->name = op->node->name; 554 r->name = op->node->name;
558 } 555 }
diff --git a/arch/sparc64/kernel/of_device.c b/arch/sparc64/kernel/of_device.c
index 1f4598524bdd..fb9bf1e4d036 100644
--- a/arch/sparc64/kernel/of_device.c
+++ b/arch/sparc64/kernel/of_device.c
@@ -636,9 +636,6 @@ static void __init build_device_resources(struct of_device *op,
636 r->start = result; 636 r->start = result;
637 r->end = result + size - 1; 637 r->end = result + size - 1;
638 r->flags = flags; 638 r->flags = flags;
639 } else {
640 r->start = ~0UL;
641 r->end = ~0UL;
642 } 639 }
643 r->name = op->node->name; 640 r->name = op->node->name;
644 } 641 }