diff options
author | David Kershner <david.kershner@unisys.com> | 2017-08-30 20:36:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-31 19:17:39 +0300 |
commit | d20a0171fbeff54460a0e9bdf6c01ee226b4412a (patch) | |
tree | 6dddc5d8479ef611be7ace38a30502ab0cb64d78 /drivers/staging | |
parent | e4a064300002986132afa426fbe3f7376ce8f7cd (diff) | |
download | linux-d20a0171fbeff54460a0e9bdf6c01ee226b4412a.tar.xz |
staging: unisys: visorbus: remove uneeded initializations
Several variables were initialized when not needed. Remove the extraneous
initializations.
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/unisys/visorbus/visorchipset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index a602ba605bf5..090818f2f7b2 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -312,8 +312,8 @@ static void *parser_string_get(struct parser_context *ctx) { u8 *pscan; unsigned long nscan; - int value_length = -1; - void *value = NULL; + int value_length; + void *value; int i; pscan = ctx->curr; |