Răsfoiți Sursa

JFS: Remove shadow variable from fs/jfs/jfs_txnmgr.c:xtLog()

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
(cherry picked from bdc3d9e5af7d9c105be734dd7b5c3f1d9425a15a commit)
Tony Breeds 18 ani în urmă
părinte
comite
2a6968a978
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  1. 0 2
      fs/jfs/jfs_txnmgr.c

+ 0 - 2
fs/jfs/jfs_txnmgr.c

@@ -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];