From patchwork Fri May 30 13:13:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 4270651 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9984DBEEA7 for ; Fri, 30 May 2014 13:13:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CBACC2037B for ; Fri, 30 May 2014 13:13:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0414020379 for ; Fri, 30 May 2014 13:13:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932552AbaE3NN5 (ORCPT ); Fri, 30 May 2014 09:13:57 -0400 Received: from mail-qg0-f51.google.com ([209.85.192.51]:54201 "EHLO mail-qg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932205AbaE3NN4 (ORCPT ); Fri, 30 May 2014 09:13:56 -0400 Received: by mail-qg0-f51.google.com with SMTP id q107so5259698qgd.10 for ; Fri, 30 May 2014 06:13:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=hDAha7XYInjPLbW/mTDea9ag8IvUx7biCssVt7zVlyw=; b=lSgv5ac5HaEMNQj57JgaQ+2FXDQzQI0Uwdj/Nd8+ZGYnUzWXEG5COBUOugCL03F8v2 4Igat8Ip9VFm8kODgnNh60zxsWCLsbRpTkeqnlGmpTlUqhxGaUXP59GLsF/hKy2OFu9m u8Jysa2zPL/mxI6ZKz84NUwgNedCtXQm5sPoHAZRWVb+td9hunMz6k8boSmRELNmNVo5 OPtK7aoK2iuKcPaCr0zljl2ZePH7H6/8Uqz+ZaZ185gAjKRr+LrbJGFT6ermP7fQ6qmg sWjkeDiqWqQgByO6cFvFCGl4P/xuoFc46fxD2UfxNrd6NzIH2kZALD/VwMJPw7smG74b 9QsA== X-Gm-Message-State: ALoCoQnAFkqqUxly6LoxhszGgTwlLzpBli90lxVBG9QiVFHhFqhykYzrm2h2cczITUEMg5J4+Bwp X-Received: by 10.140.48.161 with SMTP id o30mr20158874qga.68.1401455635665; Fri, 30 May 2014 06:13:55 -0700 (PDT) Received: from tlielax.poochiereds.net ([2001:470:8:d63:3a60:77ff:fe93:a95d]) by mx.google.com with ESMTPSA id t14sm2434236qge.33.2014.05.30.06.13.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 May 2014 06:13:54 -0700 (PDT) From: Jeff Layton To: bfields@fieldses.org Cc: trond.myklebust@primarydata.com, bhalevy@primarydata.com, linux-nfs@vger.kernel.org Subject: [PATCH 10/9] nfsd: remove initial assignment of "p" in nfsd4_encode_security_label Date: Fri, 30 May 2014 09:13:47 -0400 Message-Id: <1401455627-18628-1-git-send-email-jlayton@primarydata.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1401455373-18207-1-git-send-email-jlayton@primarydata.com> References: <1401455373-18207-1-git-send-email-jlayton@primarydata.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP "pp" is no longer passed to this function, and "p" is clobbered just afterward anyway. Signed-off-by: Jeff Layton --- fs/nfsd/nfs4xdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 1bac00040706..d3a576dbd99b 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -1981,7 +1981,7 @@ static inline __be32 nfsd4_encode_security_label(struct xdr_stream *xdr, struct svc_rqst *rqstp, void *context, int len) { - __be32 *p = *pp; + __be32 *p; p = xdr_reserve_space(xdr, len + 4 + 4 + 4); if (!p)