rtw88: remove redundant assignment to pointer debugfs_topdir
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Aug 2019 11:37:28 +0000 (12:37 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:36:08 +0000 (16:36 +0300)
commit9f7d65fb39355dc0a384bd44584a6df73fbfb69e
tree65c06fe291705384d5e342f5408a574475c8e1fe
parentd74d0767b95ed3a1d8f08fb00c8a1b111d50c634
rtw88: remove redundant assignment to pointer debugfs_topdir

Pointer debugfs_topdir is initialized to a value that is never read
and it is re-assigned later. The initialization is redundant and can
be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/debug.c