 7393ce8d87
			
		
	
	7393ce8d87
	
	
	
		
			
			Patch getting RAM info got upstreamed. A debugging fs entry for testing
reset feature was added.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 681acdcc54)
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 73c742bb9c9ba30871fdd5c730d5ca8b6712833a Mon Sep 17 00:00:00 2001
 | |
| From: Colin Ian King <colin.king@canonical.com>
 | |
| Date: Fri, 9 Aug 2019 18:22:17 +0100
 | |
| Subject: [PATCH] brcmfmac: remove redundant assignment to pointer hash
 | |
| 
 | |
| The pointer hash is being initialized with a value that is never read
 | |
| and is being re-assigned a little later on. The assignment is
 | |
| redundant and hence 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/broadcom/brcm80211/brcmfmac/msgbuf.c | 1 -
 | |
|  1 file changed, 1 deletion(-)
 | |
| 
 | |
| --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
 | |
| +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c
 | |
| @@ -1478,7 +1478,6 @@ static int brcmf_msgbuf_stats_read(struc
 | |
|  	seq_printf(seq, "\nh2d_flowrings: depth %u\n",
 | |
|  		   BRCMF_H2D_TXFLOWRING_MAX_ITEM);
 | |
|  	seq_puts(seq, "Active flowrings:\n");
 | |
| -	hash = msgbuf->flow->hash;
 | |
|  	for (i = 0; i < msgbuf->flow->nrofrings; i++) {
 | |
|  		if (!msgbuf->flow->rings[i])
 | |
|  			continue;
 |