From d4c7617af1a7eb79a6af581b7f155764c51d794a Mon Sep 17 00:00:00 2001 From: Flavio Ceolin Date: Tue, 25 Sep 2018 12:27:59 -0700 Subject: [PATCH] kernel: Remove unused variables _INIT_LEVEL_P* variables are not used anywhere. These values are duplicated in defines like _SYS_INIT_LEVEL_P*, just removing it. MISRA-C rule 2.2 Signed-off-by: Flavio Ceolin --- include/device.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/device.h b/include/device.h index 6dff831d179..e7cfb2a558e 100644 --- a/include/device.h +++ b/include/device.h @@ -28,10 +28,6 @@ extern "C" { #endif -static const int _INIT_LEVEL_PRE_KERNEL_1 = 1; -static const int _INIT_LEVEL_PRE_KERNEL_2 = 1; -static const int _INIT_LEVEL_POST_KERNEL = 1; -static const int _INIT_LEVEL_APPLICATION = 1; /** * @def DEVICE_INIT