rtl8723au: Remove dead code associated with CONFIG_REDUCE_USB_TX_INT

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
rtl8723au: Remove dead code associated with CONFIG_SPCT_CH_SWITCH

This also simplifies routine on_action_spct(), which becomes a simple
return.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
rtl8723au: Remove dead code associated with CONFIG_H2CLBK

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
rtl8723au: Remove dead code associated with CONFIG_SINGLE_RECV_BUF

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
rtl8723au: Remove dead code associated with CONFIG_SINGLE_XMIT_BUF

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
rtl8723au: Remove CONFIG_RECV_REORDERING_CTRL

This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
rtl8723au: Remove CONFIG_80211D

The 802.11d protocol is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
rtl8723au: Remove CONFIG_WFD and CONFIG_8723AU_P2P_PS

Each of these is defined whenever CONFIG_8723AU_P2P is defined. Eliminate
the intermediate symbols.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
rtl8723au: Fix Smatch warning in os_dep/ioctl_cfg80211.c

Smatch reports the following:

  CHECK   /home/finger/rtl8723au/os_dep/ioctl_cfg80211.c
/home/finger/rtl8723au/os_dep/ioctl_cfg80211.c:609 set_group_key() warn: missing break? reassigning 'keylen'

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
rtl8723au: Fix Smatch errors in core/rtw_security.c

Smatch reports the following:

  CHECK   /home/finger/rtl8723au/core/rtw_security.c
/home/finger/rtl8723au/core/rtw_security.c:199 rtw_wep_encrypt() warn: potential memory corrupting cast 8 vs 4 bytes
/home/finger/rtl8723au/core/rtw_security.c:209 rtw_wep_encrypt() warn: potential memory corrupting cast 8 vs 4 bytes
/home/finger/rtl8723au/core/rtw_security.c:261 rtw_wep_decrypt() warn: potential memory corrupting cast 8 vs 4 bytes

These are caused by an unsigned long cast. That is correct for a 32-bit driver, but it
is an error for a 64-bit version.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>