Remove duplicate headers which are included twice.
Signed-off-by: Chen Zhou
---
net/core/bpf_sk_storage.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/core/bpf_sk_storage.c b/net/core/bpf_sk_storage.c
index a0d1a3265b71..4a86ea34f29e 100644
--- a/net/core/bpf_sk_storage.c
+++ b/net
It is more efficient to use kmemdup_nul() if the size is known exactly
.
According to doc:
"Note: Use kmemdup_nul() instead if the size is known exactly."
Signed-off-by: Chen Zhou
---
net/sunrpc/auth_gss/gss_rpc_upcall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
Fix sparse warning:
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c:2206:5:
warning: symbol 'brcmf_p2p_get_conn_idx' was not declared. Should it be
static?
Reported-by: Hulk Robot
Signed-off-by: Chen Zhou
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c | 2
Remove duplicate headers which are included twice.
Signed-off-by: Chen Zhou
---
drivers/net/ipa/ipa_mem.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ipa/ipa_mem.c b/drivers/net/ipa/ipa_mem.c
index aa8f6b0f3d50..3ef814119aab 100644
--- a/drivers/net/ipa/ipa_mem.c
+++ b
Remove duplicate headers which are included twice.
Signed-off-by: Chen Zhou
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
index e46a14f44a6f