From patchwork Fri May 7 08:26:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 97620 X-Patchwork-Delegate: ericvh@gmail.com Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o478Qh48001650 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 7 May 2010 08:27:19 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1OAItK-0004IC-L0; Fri, 07 May 2010 08:26:38 +0000 Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.123] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1OAItJ-0004I5-99 for v9fs-developer@lists.sourceforge.net; Fri, 07 May 2010 08:26:37 +0000 Received-SPF: pass (sfi-mx-3.v28.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.175 as permitted sender) client-ip=74.125.82.175; envelope-from=error27@gmail.com; helo=mail-wy0-f175.google.com; Received: from mail-wy0-f175.google.com ([74.125.82.175]) by sfi-mx-3.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1OAItG-00042K-NS for v9fs-developer@lists.sourceforge.net; Fri, 07 May 2010 08:26:37 +0000 Received: by wyf22 with SMTP id 22so526926wyf.34 for ; Fri, 07 May 2010 01:26:29 -0700 (PDT) Received: by 10.227.134.206 with SMTP id k14mr5322682wbt.94.1273220788955; Fri, 07 May 2010 01:26:28 -0700 (PDT) Received: from bicker ([205.177.176.130]) by mx.google.com with ESMTPS id z33sm13966466wbd.7.2010.05.07.01.26.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 07 May 2010 01:26:28 -0700 (PDT) Date: Fri, 7 May 2010 10:26:23 +0200 From: Dan Carpenter To: Eric Van Hensbergen Message-ID: <20100507082623.GP27064@bicker> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: 3.5 (+++) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 1.5 RCVD_IN_PSBL RBL: Received via a relay in PSBL [205.177.176.130 listed in psbl.surriel.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 DKIM_VERIFIED Domain Keys Identified Mail: signature passes verification 0.0 DKIM_SIGNED Domain Keys Identified Mail: message has a signature 1.1 RCVD_IN_SORBS_WEB RBL: SORBS: sender is a abuseable web server [205.177.176.130 listed in dnsbl.sorbs.net] 1.5 SF_NO_SPF_SPAM SF_NO_SPF_SPAM 0.9 AWL AWL: From: address is in the auto white-list X-Headers-End: 1OAItG-00042K-NS Cc: Latchesar Ionkov , v9fs-developer@lists.sourceforge.net, Ron Minnich Subject: [V9fs-developer] [patch] 9p: cleanup: remove unneeded assignment X-BeenThere: v9fs-developer@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: v9fs-developer-bounces@lists.sourceforge.net X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 07 May 2010 08:27:19 +0000 (UTC) diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index f2434fc..eebc7aa 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c @@ -434,14 +434,12 @@ static int v9fs_remove(struct inode *dir, struct dentry *file, int rmdir) { int retval; struct inode *file_inode; - struct v9fs_session_info *v9ses; struct p9_fid *v9fid; P9_DPRINTK(P9_DEBUG_VFS, "inode: %p dentry: %p rmdir: %d\n", dir, file, rmdir); file_inode = file->d_inode; - v9ses = v9fs_inode2v9ses(file_inode); v9fid = v9fs_fid_clone(file); if (IS_ERR(v9fid)) return PTR_ERR(v9fid);