diff options
author | Sandhya Bankar <bankarsandhya512@gmail.com> | 2016-09-18 05:29:03 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-20 13:46:31 +0200 |
commit | dfe996f275956b9039d49a6545684c739a39cab1 (patch) | |
tree | 2a4a9dc08d07cde7c41ec5f6c4132382bea95b6d /drivers/staging/i4l/act2000 | |
parent | 5ccde0dc6a9f699c470334632b72a064e16b61df (diff) |
Staging: i4l: Do not initialise statics to 0.
Do not initialise statics to 0. Static variable by default initialise to 0,
so no need to explicit initialisation. This issue was found by checkpatch.
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/i4l/act2000')
-rw-r--r-- | drivers/staging/i4l/act2000/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/i4l/act2000/module.c b/drivers/staging/i4l/act2000/module.c index 68073d0da0e3..39a8940b6ae5 100644 --- a/drivers/staging/i4l/act2000/module.c +++ b/drivers/staging/i4l/act2000/module.c @@ -28,7 +28,7 @@ static unsigned short act2000_isa_ports[] = static act2000_card *cards = (act2000_card *) NULL; /* Parameters to be set by insmod */ -static int act_bus = 0; +static int act_bus; static int act_port = -1; /* -1 = Autoprobe */ static int act_irq = -1; static char *act_id = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; |