diff options
author | Yang Li <[email protected]> | 2021-12-13 17:54:13 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-12-13 14:56:03 +0000 |
commit | 93d576f54e0f697c7b54f4ddd718e68ccc52c4f2 (patch) | |
tree | f3ca803c034a709aabd5217c9857de02ca60efc6 /drivers/net/ethernet/intel/igc/igc_ptp.c | |
parent | fee32de284ac277ba434a2d59f8ce46528ff3946 (diff) |
mt76: remove variable set but not used
The code that uses variable queued has been removed,
and "mt76_is_usb(dev) ? q->ndesc - q->queued : q->queued"
didn't do anything, so all they should be removed as well.
Eliminate the following clang warnings:
drivers/net/wireless/mediatek/mt76/debugfs.c:77:9: warning: variable
‘queued’ set but not used.
Reported-by: Abaci Robot <[email protected]>
Fixes: 2d8be76c1674 ("mt76: debugfs: improve queue node readability")
Signed-off-by: Yang Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_ptp.c')
0 files changed, 0 insertions, 0 deletions