aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parport/daisy.c
diff options
context:
space:
mode:
authorCarlos Palminha <CARLOS.PALMINHA@synopsys.com>2017-08-12 22:45:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-28 17:25:43 +0200
commitdf4c756e5f6bf08bd7bc63bbfd7fa921a855f241 (patch)
tree79a23d6603c7c44fe6c0f383c18f8ef31f336b58 /drivers/parport/daisy.c
parentparport_pc: use pr_cont (diff)
downloadlinux-dev-df4c756e5f6bf08bd7bc63bbfd7fa921a855f241.tar.xz
linux-dev-df4c756e5f6bf08bd7bc63bbfd7fa921a855f241.zip
parport: cleanup statics initialization to NULL or 0
based on checkpatch, cleanup the "do not initialise statics to" 0 or NULL. Signed-off-by: Carlos Palminha <palminha@synopsys.com> Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/parport/daisy.c')
-rw-r--r--drivers/parport/daisy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/daisy.c b/drivers/parport/daisy.c
index 46eb15fb57ff..5484a46dafda 100644
--- a/drivers/parport/daisy.c
+++ b/drivers/parport/daisy.c
@@ -44,7 +44,7 @@ static struct daisydev {
} *topology = NULL;
static DEFINE_SPINLOCK(topology_lock);
-static int numdevs = 0;
+static int numdevs;
/* Forward-declaration of lower-level functions. */
static int mux_present(struct parport *port);