summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/kvx/Makefile2
-rw-r--r--arch/kvx/cpu/barebox.lds.S1
-rw-r--r--arch/kvx/cpu/start.S1
-rw-r--r--drivers/clocksource/kvx_timer.c1
4 files changed, 0 insertions, 5 deletions
diff --git a/arch/kvx/Makefile b/arch/kvx/Makefile
index 643ef28553..9e7c8c07fa 100644
--- a/arch/kvx/Makefile
+++ b/arch/kvx/Makefile
@@ -2,8 +2,6 @@ KBUILD_DEFCONFIG := generic_defconfig
KBUILD_CPPFLAGS += -fno-strict-aliasing
-board-$(CONFIG_GENERIC) := generic
-
KALLSYMS += --symbol-prefix=_
ifeq ($(CROSS_COMPILE),)
diff --git a/arch/kvx/cpu/barebox.lds.S b/arch/kvx/cpu/barebox.lds.S
index 8d1944afbf..bf92564cfb 100644
--- a/arch/kvx/cpu/barebox.lds.S
+++ b/arch/kvx/cpu/barebox.lds.S
@@ -3,7 +3,6 @@
* Copyright (C) 2019 Kalray Inc.
*/
-#include <config.h>
#include <asm/common.h>
#include <asm/sys_arch.h>
#include <asm-generic/barebox.lds.h>
diff --git a/arch/kvx/cpu/start.S b/arch/kvx/cpu/start.S
index a02900fb93..d90272c71f 100644
--- a/arch/kvx/cpu/start.S
+++ b/arch/kvx/cpu/start.S
@@ -3,7 +3,6 @@
* Copyright (C) 2019 Kalray Inc.
*/
-#include <config.h>
#include <linux/linkage.h>
#include <asm/privilege.h>
#include <asm/sys_arch.h>
diff --git a/drivers/clocksource/kvx_timer.c b/drivers/clocksource/kvx_timer.c
index f16d77b9dd..4125ddbee0 100644
--- a/drivers/clocksource/kvx_timer.c
+++ b/drivers/clocksource/kvx_timer.c
@@ -27,7 +27,6 @@ static int kvx_timer_probe(struct device_d *dev)
{
struct clk *clk;
uint32_t clk_freq;
- struct device_node *np = dev->device_node;
/* Get clock frequency */
clk = clk_get(dev, NULL);