From: Nishka Dasgupta Date: Fri, 24 May 2019 08:58:42 +0000 (+0530) Subject: staging: ks7010: Remove initialisation in ks7010_sdio.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0fce66606ef91ff23b69217dfa0f10e2704e1224;p=linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index 74551eb717fc7..4b379542ecd50 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;