Files
linux/fs
Arnd Bergmann 1846ac97e5 jfs: fix bogus variable self-initialization
[ Upstream commit a5fdd713d2 ]

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: c9e3ad6021 ("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>
2023-05-15 16:44:34 +09:00
..
2023-05-15 14:09:19 +09:00
2023-05-15 16:09:57 +09:00
2023-05-15 16:16:47 +09:00
2023-05-15 08:58:11 +09:00
2023-05-15 16:10:11 +09:00
2017-11-30 08:39:04 +00:00
2023-05-15 11:49:44 +09:00
2023-05-15 16:30:41 +09:00
2023-05-15 10:36:26 +09:00
2017-07-05 16:18:14 +02:00
2017-09-20 09:59:51 +02:00
2017-09-26 00:32:37 -07:00
2017-09-26 00:32:37 -07:00
2018-02-17 13:21:15 +01:00
2017-07-21 08:55:50 +02:00
2017-06-14 15:06:01 +02:00