[PATCH net-next] net: dsa: Fix spelling mistakes and cleanup code

From: studentxswpy
Date: Sat Jul 30 2022 - 05:12:24 EST


From: Xie Shaowen <studentxswpy@xxxxxxx>

fix follow spelling misktakes:
desconstructed ==> deconstructed
enforcment ==> enforcement

Reported-by: Hacash Robot <hacashRobot@xxxxxxxxxxx>
Signed-off-by: Xie Shaowen <studentxswpy@xxxxxxx>
---
net/dsa/tag_brcm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/dsa/tag_brcm.c b/net/dsa/tag_brcm.c
index 96dbb8ee2fee..4d538f4c3884 100644
--- a/net/dsa/tag_brcm.c
+++ b/net/dsa/tag_brcm.c
@@ -103,7 +103,7 @@ static struct sk_buff *brcm_tag_xmit_ll(struct sk_buff *skb,

brcm_tag = skb->data + offset;

- /* Set the ingress opcode, traffic class, tag enforcment is
+ /* Set the ingress opcode, traffic class, tag enforcement is
* deprecated
*/
brcm_tag[0] = (1 << BRCM_OPCODE_SHIFT) |
--
2.25.1