Content-Type: multipart/mixed; boundary="===============4533817637768266951==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] veth: veth_get_num_tx_queues() can be static Date: Sun, 11 Jul 2021 01:52:18 +0800 Message-ID: <20210710175218.GA127263@d3d9b15deedd> In-Reply-To: <480e7a960c26c9ab84efe59ed706f1a1a459d38c.1625823139.git.pabeni@redhat.com> List-Id: --===============4533817637768266951== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/net/veth.c:1670:14: warning: symbol 'veth_get_num_tx_queues' was no= t declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- veth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/veth.c b/drivers/net/veth.c index 787b4ad2cc876..3cad4d04e5cb9 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c @@ -1667,7 +1667,7 @@ static struct net *veth_get_link_net(const struct net= _device *dev) return peer ? dev_net(peer) : dev_net(dev); } = -unsigned int veth_get_num_tx_queues(void) +static unsigned int veth_get_num_tx_queues(void) { /* enforce the same queue limit as rtnl_create_link */ int queues =3D queues_nr; --===============4533817637768266951==--