Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-block.git] / drivers / clocksource / sh_tmu.c
index 49f1c805fc9598edf5d7021b435419b40e24b64f..8c4f3753b36ecbec88cb4be5091264e44f6a1934 100644 (file)
@@ -462,11 +462,8 @@ static int sh_tmu_channel_setup(struct sh_tmu_channel *ch, unsigned int index,
                ch->base = tmu->mapbase + 8 + ch->index * 12;
 
        ch->irq = platform_get_irq(tmu->pdev, index);
-       if (ch->irq < 0) {
-               dev_err(&tmu->pdev->dev, "ch%u: failed to get irq\n",
-                       ch->index);
+       if (ch->irq < 0)
                return ch->irq;
-       }
 
        ch->cs_enabled = false;
        ch->enable_count = 0;