From: Esben Haabendal <esben@geanix.com>
To: Zheng Yongjun <zhengyongjun3@huawei.com>
Cc: <linux-kernel@vger.kernel.org>, Hulk Robot <hulkci@huawei.com>
Subject: Re: [PATCH] net: ll_temac: Remove set but not used variable 'start_p'
Date: Mon, 11 Nov 2019 13:34:02 +0100 [thread overview]
Message-ID: <87r22ed22t.fsf@geanix.com> (raw)
In-Reply-To: <20191110103937.124600-1-zhengyongjun3@huawei.com> (Zheng Yongjun's message of "Sun, 10 Nov 2019 18:39:37 +0800")
Zheng Yongjun <zhengyongjun3@huawei.com> writes:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/xilinx/ll_temac_main.c: In function temac_start_xmit:
> drivers/net/ethernet/xilinx/ll_temac_main.c:737:13: warning: variable start_p set but not used [-Wunused-but-set-variable]
>
> start_p is never used, so remove it.
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Acked-by: Esben Haabendal <esben@geanix.com>
prev parent reply other threads:[~2019-11-11 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-10 10:39 [PATCH] net: ll_temac: Remove set but not used variable 'start_p' Zheng Yongjun
2019-11-11 12:34 ` Esben Haabendal [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r22ed22t.fsf@geanix.com \
--to=esben@geanix.com \
--cc=hulkci@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zhengyongjun3@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.