diff options
| author | 2019-05-24 13:33:30 +0530 | |
|---|---|---|
| committer | 2019-05-30 14:09:46 -0700 | |
| commit | a7048b38ae443abe06141b75f842b73371c2a0fe (patch) | |
| tree | 3799fbf0be5a3bd0e3165413a23578188b1b00d2 | |
| parent | staging: kpc2000: replace bogus variable name in core.c (diff) | |
staging: ks7010: Remove initialisation in ks_hostif.c
The initial value of return variable result is never used, so it can be
removed.
Issue found with Coccinelle.
Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/ks7010/ks_hostif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index e089366ed02a..3775fd4b89ae 100644 --- a/drivers/staging/ks7010/ks_hostif.c +++ b/drivers/staging/ks7010/ks_hostif.c @@ -1067,7 +1067,7 @@ int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb) unsigned int length = 0; struct hostif_data_request *pp; unsigned char *p; - int result = 0; + int result; unsigned short eth_proto; struct ether_hdr *eth_hdr; unsigned short keyinfo = 0; |
