From 05489e82f567ce524e4c0c406bdc7ddc61a41412 Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Wed, 14 Oct 2015 02:23:40 +0530 Subject: [PATCH] Staging: wilc1000: wilc_wlan_cfg: Remove unnecessary cast Remove a cast which is not required. Signed-off-by: Shivani Bhardwaj Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wilc1000/wilc_wlan_cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wlan_cfg.c b/drivers/staging/wilc1000/wilc_wlan_cfg.c index d148d6efadbb..a34a81cdeb5e 100644 --- a/drivers/staging/wilc1000/wilc_wlan_cfg.c +++ b/drivers/staging/wilc1000/wilc_wlan_cfg.c @@ -364,7 +364,7 @@ static void wilc_wlan_parse_response_frame(u8 *info, int size) static int wilc_wlan_parse_info_frame(u8 *info, int size) { - wilc_mac_cfg_t *pd = (wilc_mac_cfg_t *)&g_mac; + wilc_mac_cfg_t *pd = &g_mac; u32 wid, len; int type = WILC_CFG_RSP_STATUS; -- 2.20.1