mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
Staging: rtl8188eu: Hal8188ERateAdaptive: Use x instead of x != NULL.
Use x instead of x != NULL. Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
17d4591d96
commit
7f69e09aba
1 changed files with 1 additions and 1 deletions
|
@ -557,7 +557,7 @@ int ODM_RAInfo_Init(struct odm_dm_struct *dm_odm, u8 macid)
|
|||
u8 WirelessMode = 0xFF; /* invalid value */
|
||||
u8 max_rate_idx = 0x13; /* MCS7 */
|
||||
|
||||
if (dm_odm->pWirelessMode != NULL)
|
||||
if (dm_odm->pWirelessMode)
|
||||
WirelessMode = *(dm_odm->pWirelessMode);
|
||||
|
||||
if (WirelessMode != 0xFF) {
|
||||
|
|
Loading…
Reference in a new issue