ipq40xx: less log output

This commit fix 7dc881
This commit is contained in:
AmadeusGhost 2020-02-29 11:55:00 +08:00
parent 1f85f48995
commit fba627a668
2 changed files with 2 additions and 2 deletions

View File

@ -1523,7 +1523,7 @@ Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
+ int res;
+
+ if (skb->protocol == htons(ETH_P_IPV6)) {
+ dev_err(&adapter->pdev->dev);
+ dev_err(&adapter->pdev->dev, "\n");
+ res = -EINVAL;
+ goto no_protocol_err;
+ }

View File

@ -1523,7 +1523,7 @@ Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
+ int res;
+
+ if (skb->protocol == htons(ETH_P_IPV6)) {
+ dev_err(&adapter->pdev->dev);
+ dev_err(&adapter->pdev->dev, "\n");
+ res = -EINVAL;
+ goto no_protocol_err;
+ }