staging: r8188eu: remove unnecessary null check
authorMinghao Chi <chi.minghao@zte.com.cn>
Wed, 24 Aug 2022 08:03:50 +0000 (08:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Aug 2022 13:14:17 +0000 (15:14 +0200)
commitdba908967df597081a2e10e2d497cc8f695694b4
treec453ea7c7ca800a76444bcf1bfa69ade6567f219
parentcd33da26036ea54c4ae893e16bf2e873b522f866
staging: r8188eu: remove unnecessary null check

container_of is never null, so this null check is
unnecessary.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/20220824080350.221614-1-chi.minghao@zte.com.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme.c