summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-powernv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-powernv.c')
-rw-r--r--drivers/leds/leds-powernv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/leds/leds-powernv.c b/drivers/leds/leds-powernv.c
index 1e75e1f..bc2d76e 100644
--- a/drivers/leds/leds-powernv.c
+++ b/drivers/leds/leds-powernv.c
@@ -256,8 +256,6 @@ static int powernv_led_classdev(struct platform_device *pdev,
for_each_child_of_node(led_node, np) {
p = of_find_property(np, "led-types", NULL);
- if (!p)
- continue;
while ((cur = of_prop_next_string(p, cur)) != NULL) {
powernv_led = devm_kzalloc(dev, sizeof(*powernv_led),
OpenPOWER on IntegriCloud