From: Jes Sorensen Date: Sat, 26 Apr 2014 16:55:08 +0000 (+0200) Subject: staging: rtl8723au: rtw_createbss_cmd23a(): Remove unnecessary typecast X-Git-Tag: next-20140428~14^2~88 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aab26454e91ec5cc69c9eb32d824ef69d127fdc9;p=karo-tx-linux.git staging: rtl8723au: rtw_createbss_cmd23a(): Remove unnecessary typecast Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c b/drivers/staging/rtl8723au/core/rtw_cmd.c index 9e0a5ea9ba75..8ce4148a3a49 100644 --- a/drivers/staging/rtl8723au/core/rtw_cmd.c +++ b/drivers/staging/rtl8723au/core/rtw_cmd.c @@ -516,7 +516,7 @@ u8 rtw_createbss_cmd23a(struct rtw_adapter *padapter) pcmd->cmdcode = _CreateBss_CMD_; pcmd->parmbuf = (unsigned char *)pdev_network; - pcmd->cmdsz = get_wlan_bssid_ex_sz((struct wlan_bssid_ex*)pdev_network); + pcmd->cmdsz = get_wlan_bssid_ex_sz(pdev_network); pcmd->rsp = NULL; pcmd->rspsz = 0;