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>
This commit is contained in:
Nishka Dasgupta 2019-05-24 14:28:42 +05:30 committed by Greg Kroah-Hartman
parent 6ef7eef929
commit 0fce66606e

View file

@ -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;