diff options
author | 2015-06-10 17:06:47 +0900 | |
---|---|---|
committer | 2015-06-10 17:45:34 -0700 | |
commit | 842f1d71f6a00aa3d0a6fa277585cd7713122e3f (patch) | |
tree | bf197dece6385991c8f2a6af1bde4c7e50418b0f /drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | |
parent | staging: wilc1000: modify printk format (diff) | |
download | linux-dev-842f1d71f6a00aa3d0a6fa277585cd7713122e3f.tar.xz linux-dev-842f1d71f6a00aa3d0a6fa277585cd7713122e3f.zip |
staging: wilc1000: remove uninitialized warnings
This patch is for the initialization of the local variables.
Signed-off-by: Johnny Kim <johnny.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wfi_cfgoperations.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 61f1f2010645..5844eba90b91 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -829,9 +829,9 @@ static int WILC_WFI_CfgConnect(struct wiphy *wiphy, struct net_device *dev, WILC_Uint32 i; u8 u8security = NO_ENCRYPT; AUTHTYPE_T tenuAuth_type = ANY; - WILC_Char *pcgroup_encrypt_val; - WILC_Char *pccipher_group; - WILC_Char *pcwpa_version; + WILC_Char *pcgroup_encrypt_val = NULL; + WILC_Char *pccipher_group = NULL; + WILC_Char *pcwpa_version = NULL; struct WILC_WFI_priv *priv; tstrWILC_WFIDrv *pstrWFIDrv; |