From patchwork Mon Mar 11 02:02:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ycnian@gmail.com X-Patchwork-Id: 2246251 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 8F343DF24C for ; Mon, 11 Mar 2013 02:14:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753799Ab3CKCOO (ORCPT ); Sun, 10 Mar 2013 22:14:14 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:57366 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753790Ab3CKCOM (ORCPT ); Sun, 10 Mar 2013 22:14:12 -0400 Received: by mail-pb0-f41.google.com with SMTP id um15so3176631pbc.0 for ; Sun, 10 Mar 2013 19:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=9mqH26CmJcI4BcdVk2lvbx77ZyyHCUsPu6yrccKo8yQ=; b=RgbynfIk0G2mjrInAFSS/dDrJmH8hBIGYWVGp5/9GKaHzwmIvVjkdK4uqxu+gTW3I2 RN5JvI9SbJNdb9uSitqRXGhwCL7w2QDvKBdYHF+e5RxKpl1xbCk9/Wb/ira4b3Vtqjwz vP93lDFi4JYCg9kuCvkNX+zxV1CRoCSmWMW2OeFkA21Ozji+/XCnzRzdN4KTlHVciaFx Fn39WthJbTKAWf8eq0B/r1oNk1YrYyIiWQnKM+waFUvXHUoO/FFkegAvuRF4VVfWxXj7 WEPyNoUkpR1rBKxJPDB96RwQrTBUUj5aDxArtbjv5UjQEXrJ2D/+JTY5WW6dGkw3dMP1 p/VQ== X-Received: by 10.68.137.161 with SMTP id qj1mr24250788pbb.168.1362968051294; Sun, 10 Mar 2013 19:14:11 -0700 (PDT) Received: from localhost ([159.226.5.132]) by mx.google.com with ESMTPS id iu10sm17976014pbc.13.2013.03.10.19.14.08 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sun, 10 Mar 2013 19:14:10 -0700 (PDT) From: ycnian@gmail.com To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, Yanchuan Nian Subject: [PATCH] nfsd: rmmove unused macro in nfsv4 Date: Mon, 11 Mar 2013 10:02:18 +0800 Message-Id: <1362967338-22341-1-git-send-email-ycnian@gmail.com> X-Mailer: git-send-email 1.7.4.4 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Yanchuan Nian lk_new_open_seqid is never used anywhere, and rflags is not defined in struct nfsd4_lock. Signed-off-by: Yanchuan Nian --- fs/nfsd/xdr4.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 0889bfb..326724a 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -184,7 +184,6 @@ struct nfsd4_lock { #define lk_old_lock_stateid v.old.lock_stateid #define lk_old_lock_seqid v.old.lock_seqid -#define lk_rflags u.ok.rflags #define lk_resp_stateid u.ok.stateid #define lk_denied u.denied