From 07c452d4b9b9463a15a58948c88c291f381459ca Mon Sep 17 00:00:00 2001 From: Ebru Akagunduz Date: Wed, 19 Mar 2014 02:38:50 +0200 Subject: [PATCH] Staging: cxt1e1: Fix externs should be avoided in .c files in comet.c Fix checkpatch.pl issues with externs should be avoided in comet.c Signed-off-by: Ebru Akagunduz Signed-off-by: Greg Kroah-Hartman --- drivers/staging/cxt1e1/comet.c | 1 - drivers/staging/cxt1e1/functions.c | 1 - drivers/staging/cxt1e1/hwprobe.c | 1 - drivers/staging/cxt1e1/musycc.c | 1 - drivers/staging/cxt1e1/pmcc4_sysdep.h | 1 + 5 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/cxt1e1/comet.c b/drivers/staging/cxt1e1/comet.c index c092da576cb0..7005ad022339 100644 --- a/drivers/staging/cxt1e1/comet.c +++ b/drivers/staging/cxt1e1/comet.c @@ -22,7 +22,6 @@ #include "comet.h" #include "comet_tables.h" -extern int cxt1e1_log_level; #define COMET_NUM_SAMPLES 24 /* Number of entries in the waveform table */ #define COMET_NUM_UNITS 5 /* Number of points per entry in table */ diff --git a/drivers/staging/cxt1e1/functions.c b/drivers/staging/cxt1e1/functions.c index 40dbe2c623c4..ee9d39bbd251 100644 --- a/drivers/staging/cxt1e1/functions.c +++ b/drivers/staging/cxt1e1/functions.c @@ -48,7 +48,6 @@ static int dummy = 0; #endif -extern int cxt1e1_log_level; extern int drvr_state; diff --git a/drivers/staging/cxt1e1/hwprobe.c b/drivers/staging/cxt1e1/hwprobe.c index d41fb79e3304..9b4198b1e634 100644 --- a/drivers/staging/cxt1e1/hwprobe.c +++ b/drivers/staging/cxt1e1/hwprobe.c @@ -31,7 +31,6 @@ #include "sbeproc.h" #endif -extern int cxt1e1_log_level; extern int error_flag; extern int drvr_state; diff --git a/drivers/staging/cxt1e1/musycc.c b/drivers/staging/cxt1e1/musycc.c index c1bdfc4f9e4b..7b4f6f2108e3 100644 --- a/drivers/staging/cxt1e1/musycc.c +++ b/drivers/staging/cxt1e1/musycc.c @@ -42,7 +42,6 @@ static unsigned int max_bh = 0; /* global driver variables */ extern ci_t *c4_list; extern int drvr_state; -extern int cxt1e1_log_level; extern int cxt1e1_max_mru; extern int cxt1e1_max_mtu; diff --git a/drivers/staging/cxt1e1/pmcc4_sysdep.h b/drivers/staging/cxt1e1/pmcc4_sysdep.h index 697f1943670f..2916c2cb13f9 100644 --- a/drivers/staging/cxt1e1/pmcc4_sysdep.h +++ b/drivers/staging/cxt1e1/pmcc4_sysdep.h @@ -60,3 +60,4 @@ void sd_line_is_down (void *user); int sd_queue_stopped (void *user); #endif /*** _INC_PMCC4_SYSDEP_H_ ***/ +extern int cxt1e1_log_level;