[PATCH] xhci: Remove unused value len from xhci_unmap_temp_buf

2021-03-06 Thread zhangkun4jr
From: Zhang Kun The value assigned to len by sg_pcopy_from_buffer() never used for anything, so remove it. Signed-off-by: Zhang Kun --- drivers/usb/host/xhci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index

[PATCH] ath9k:remove unneeded variable in ath9k_dump_legacy_btcoex

2021-02-24 Thread zhangkun4jr
From: Zhang Kun Remove unneeded variable 'len' in ath9k_dump_legacy_btcoex. Signed-off-by: Zhang Kun --- drivers/net/wireless/ath/ath9k/gpio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/gpio.c b/drivers/net/wireless/ath/ath9k/gpio.c