On Sun, Oct 18, 2020 at 12:36:10AM +0300, Vladimir Oltean wrote:
> diff --git a/net/dsa/tag_gswip.c b/net/dsa/tag_gswip.c
> index 408d4af390a0..cde93ccb21ac 100644
> --- a/net/dsa/tag_gswip.c
> +++ b/net/dsa/tag_gswip.c
> @@ -63,10 +63,6 @@ static struct sk_buff *gswip_tag_xmit(struct sk_buff *skb,
>       int err;

Unused variable "err" left behind, will delete.

>       u8 *gswip_tag;
>
> -     err = skb_cow_head(skb, GSWIP_TX_HEADER_LEN);
> -     if (err)
> -             return NULL;
> -
>       skb_push(skb, GSWIP_TX_HEADER_LEN);
>
>       gswip_tag = skb->data;
> --

Reply via email to