ARM: davinci: remove unused DA8XX_NUM_UARTS
authorDavid Lechner <david@lechnology.com>
Mon, 29 Feb 2016 22:33:25 +0000 (16:33 -0600)
committerSekhar Nori <nsekhar@ti.com>
Thu, 14 Apr 2016 06:39:49 +0000 (12:09 +0530)
DA8X_NUM_UARTS not used in the code anywhere and should be determined
by DT anyway.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/da8xx-dt.c

index 358ab34c4f947b16256e520e367ebe9bf1200731..08880e70bc036039cb7171ddffcf32432cd59ae5 100644 (file)
@@ -18,8 +18,6 @@
 #include "cp_intc.h"
 #include <mach/da8xx.h>
 
-#define DA8XX_NUM_UARTS        3
-
 static const struct of_device_id const da8xx_irq_match[] __initconst = {
        { .compatible = "ti,cp-intc", .data = cp_intc_of_init, },
        { }