Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5609813imu; Mon, 26 Nov 2018 02:58:36 -0800 (PST) X-Google-Smtp-Source: AJdET5f9llfZgBco6DO+ZkvuAVBKMW0CpOMJgbU1L/0bVH5HYzCLZP2jX1e0VqEt6qRqaAgSv2Al X-Received: by 2002:a62:c21c:: with SMTP id l28mr27121561pfg.74.1543229916289; Mon, 26 Nov 2018 02:58:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543229916; cv=none; d=google.com; s=arc-20160816; b=WIjg8+HMOKMlwKdtYz3zyEHtcaLi8lxzBqGWF6ywjQOD1x+jkjspe/RXB0cZFKpDQ/ 8SwudqQ+PDuNmpzqBHT3tL0W6FEwKglLX+LGtOG4Trsi0Kq/foEYFjuVskQX3+7pxse7 3sGJXWPbGSDCURQzyqXCjUzNnEDl13krYSKRq1MxYblw7kYf7bHusi7+9PWaHXl7wS8p wDiwN+U1B8IncSCHMGVfqwGaVKK2cGGuaaF4UMCVkA/GQGuGgtRHVia0sBAviyemsIJp +kQnmyu69T5xMf1zaa1FsATW+ypKgQao8qtTkpWYYFgq5e8np36gM3iywfhbm+iekyYW npfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wdoO+5wyzDXsYXX6oG6KhWh4TCCfKhwrjoEHOF6TGdg=; b=YewIso/EgMv1EopFGjR/Mrfm9D3XxigKAD98jIiRvVz0SvoCojX/SLoIRdImYtngHm T5P36O6FkwrNT+MVil1nKjIwO6+7T14WKKoumyFf7Ln0/LTtL0hGpjvjFvH99uhKgm+Q 9YhFoWmcm28KkLLL/KACuHnx0eNQahWcGHJ3b4XVqLPKVqH3PKAVAdPmONJthMfeldOf xlVPHjZXijztbah1Yc5LwlM1gMT04mwCcRbs7IM3F2fadyF0TmVdvkW2WdRn/emgS0I/ WeY5JgTeFd/g+QQoH7NLHJCK3eDlyyGNsx/2EIll0Z7Uu5e7D7uBDUNwioBLZUaWxzKL sEpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dBwKEj6A; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11-v6si34232858plg.87.2018.11.26.02.58.21; Mon, 26 Nov 2018 02:58:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dBwKEj6A; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728074AbeKZVtY (ORCPT + 99 others); Mon, 26 Nov 2018 16:49:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:58304 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726561AbeKZVtX (ORCPT ); Mon, 26 Nov 2018 16:49:23 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5716620817; Mon, 26 Nov 2018 10:55:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543229739; bh=3Zr1FXjilrzBsoJcCkhyh78bQNsOVIfsB35rhysjGhY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dBwKEj6Ad8dkSEKFgXkHvLu63hjaFw0FEQ65ggcJhhIT82SnhBaILlip8by6BguQN +8rMNZ2WskJojJPqVJ1bJg0BOhO39oCi5sxQhpXHgpDWDBvUacvXORfM1TSe7MIkuc ESpnusSilgWvW6iwxGlHyblccx6PNL9k3KRE4XWA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, YueHaibing , "J. Bruce Fields" , Sasha Levin Subject: [PATCH 4.4 55/70] SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer() Date: Mon, 26 Nov 2018 11:51:10 +0100 Message-Id: <20181126105052.110843429@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181126105046.722096341@linuxfoundation.org> References: <20181126105046.722096341@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 025911a5f4e36955498ed50806ad1b02f0f76288 ] There is no need to have the '__be32 *p' variable static since new value always be assigned before use it. Signed-off-by: YueHaibing Cc: stable@vger.kernel.org Signed-off-by: J. Bruce Fields Signed-off-by: Sasha Levin --- net/sunrpc/xdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index 9b8d855e4a87..ed9bbd383f7d 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c @@ -512,7 +512,7 @@ EXPORT_SYMBOL_GPL(xdr_commit_encode); static __be32 *xdr_get_next_encode_buffer(struct xdr_stream *xdr, size_t nbytes) { - static __be32 *p; + __be32 *p; int space_left; int frag1bytes, frag2bytes; -- 2.17.1