Arnd Bergmann 6427ae06e4 jfs: fix bogus variable self-initialization
[ Upstream commit a5fdd713d256887b5f012608701149fa939e5645 ]

A statement was originally added in 2006 to shut up a gcc warning,
now but now clang warns about it:

fs/jfs/jfs_txnmgr.c:1932:15: error: variable 'pxd' is uninitialized when used within its own initialization
      [-Werror,-Wuninitialized]
                pxd_t pxd = pxd;        /* truncated extent of xad */
                      ~~~   ^~~

Modern versions of gcc are fine without the silly assignment, so just
drop it. Tested with gcc-4.6 (released 2011), 4.7, 4.8, and 4.9.

Fixes: c9e3ad6021e5 ("JFS: Get rid of "may be used uninitialized" warnings")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-29 10:21:41 +01:00
..
2015-07-09 11:42:21 -07:00
2013-06-29 12:56:42 +04:00
2013-06-05 14:47:19 -05:00
2013-06-05 14:47:19 -05:00
2013-06-05 14:47:19 -05:00
2013-06-05 14:47:19 -05:00
2013-06-05 14:47:19 -05:00
2017-06-14 13:16:24 +02:00
2015-05-10 22:18:26 -04:00