]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc48a700d4322fe5cd205372af289e92d95f7a96c
tree65c06fe291705384d5e342f5408a574475c8e1fe
parent640da3a38f99b2ce600357d1ffecf66403f268ef
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