diff options
author | Nishka Dasgupta <nishkadg.linux@gmail.com> | 2019-05-24 11:58:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-31 00:09:46 +0300 |
commit | 0fce66606ef91ff23b69217dfa0f10e2704e1224 (patch) | |
tree | 9ed858ff2b336a66008da05fb620cc1d6a6099a6 /drivers | |
parent | 6ef7eef9291c5882dfbec34cc33257db4333912e (diff) | |
download | linux-0fce66606ef91ff23b69217dfa0f10e2704e1224.tar.xz |
staging: ks7010: Remove initialisation in ks7010_sdio.c
As the initial value of the return variable result is never used, 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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/ks7010/ks7010_sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index 74551eb717fc..4b379542ecd5 100644 --- a/drivers/staging/ks7010/ks7010_sdio.c +++ b/drivers/staging/ks7010/ks7010_sdio.c @@ -380,7 +380,7 @@ int ks_wlan_hw_tx(struct ks_wlan_private *priv, void *p, unsigned long size, struct sk_buff *skb), struct sk_buff *skb) { - int result = 0; + int result; struct hostif_hdr *hdr; hdr = (struct hostif_hdr *)p; |