mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
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>
This commit is contained in:
parent
f5a4c0188c
commit
a7048b38ae
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user