diff options
author | Carlos Palminha <CARLOS.PALMINHA@synopsys.com> | 2017-08-12 22:45:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-28 17:25:43 +0200 |
commit | df4c756e5f6bf08bd7bc63bbfd7fa921a855f241 (patch) | |
tree | 79a23d6603c7c44fe6c0f383c18f8ef31f336b58 /drivers/parport/daisy.c | |
parent | 6979b928cd53613c86dcb8e997abd26a5dcb45d3 (diff) | |
download | linux-df4c756e5f6bf08bd7bc63bbfd7fa921a855f241.tar.gz linux-df4c756e5f6bf08bd7bc63bbfd7fa921a855f241.tar.bz2 linux-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.c | 2 |
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); |