Heinrich Schuchardt 5ce43b6183 rtl8723ds: fix rtw_mfree_stainfo()
Building with GCC 12.2 results in:

/var/lib/dkms/licheerv-rtl8723ds/1.0/build/core/rtw_sta_mgt.c:
In function ‘rtw_mfree_stainfo’:
/var/lib/dkms/licheerv-rtl8723ds/1.0/build/core/rtw_sta_mgt.c:338:25:
warning: the comparison will always evaluate as ‘true’ for
the address of ‘lock’ will never be NULL [-Waddress]
  338 |         if (&psta->lock != NULL)
      |

Remove the superfluous check.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-10-20 14:28:31 +02:00
..
2017-04-25 10:13:42 -05:00
2017-10-16 20:43:56 -05:00
2017-10-16 20:43:56 -05:00
2017-04-25 10:13:42 -05:00
2017-04-25 10:13:42 -05:00
2017-10-14 09:31:11 -05:00
2017-04-25 10:13:42 -05:00
2017-04-25 10:13:42 -05:00
2017-04-25 10:13:42 -05:00
2017-04-25 10:13:42 -05:00
2017-04-25 10:13:42 -05:00
2017-04-25 10:13:42 -05:00