From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [PATCH net-next] rocker: Drop pointless static qualifier Date: Fri, 19 Oct 2018 14:12:24 +0200 Message-ID: <20181019121224.GG4558@nanopsycho.orion> References: <1539950579-182423-1-git-send-email-yuehaibing@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: davem@davemloft.net, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org To: YueHaibing Return-path: Received: from mail-wm1-f68.google.com ([209.85.128.68]:38727 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726542AbeJSUXx (ORCPT ); Fri, 19 Oct 2018 16:23:53 -0400 Received: by mail-wm1-f68.google.com with SMTP id 193-v6so3470065wme.3 for ; Fri, 19 Oct 2018 05:18:02 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1539950579-182423-1-git-send-email-yuehaibing@huawei.com> Sender: netdev-owner@vger.kernel.org List-ID: Fri, Oct 19, 2018 at 02:02:59PM CEST, yuehaibing@huawei.com wrote: >There is no need to have the 'struct rocker_desc_info *desc_info' >variable static since new value always be assigned before use it. > >Signed-off-by: YueHaibing Acked-by: Jiri Pirko