JFS: Remove shadow variable from fs/jfs/jfs_txnmgr.c:xtLog()
Tony Breeds [Mon, 11 Sep 2006 13:19:19 +0000 (08:19 -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 ebfa6c0..6ea9c1a 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];