JFS: Remove shadow variable from fs/jfs/jfs_txnmgr.c:xtLog()
authorTony Breeds <tony@bakeyournoodle.com>
Mon, 11 Sep 2006 13:19:19 +0000 (08:19 -0500)
committerDave Kleikamp <shaggy@austin.ibm.com>
Mon, 2 Oct 2006 14:50:51 +0000 (09:50 -0500)
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
(cherry picked from bdc3d9e5af7d9c105be734dd7b5c3f1d9425a15a commit)

fs/jfs/jfs_txnmgr.c

index ebfa6c061d78c5e7ff4755522291b38ca7278d38..6ea9c1a88f78392be19aa3bee5535feeb68a878c 100644 (file)
@@ -2026,8 +2026,6 @@ static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
                 * truncate entry XAD[twm == next - 1]:
                 */
                if (twm == next - 1) {
-                       struct pxd_lock *pxdlock;
-
                        /* format a maplock for txUpdateMap() to update bmap
                         * to free truncated delta extent of the truncated
                         * entry XAD[next - 1];