Staging: wilc1000: wilc_wlan_cfg: Remove unnecessary cast
authorShivani Bhardwaj <shivanib134@gmail.com>
Tue, 13 Oct 2015 20:53:40 +0000 (02:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 21:36:12 +0000 (14:36 -0700)
Remove a cast which is not required.

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan_cfg.c

index d148d6efadbbf1746ae86b16afc38419665b9352..a34a81cdeb5e1042d39ea28a3f058c2f1cc8a4c5 100644 (file)
@@ -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;