mirror of
https://gitee.com/bianbu-linux/linux-6.6-fh
synced 2025-04-25 04:57:09 -04:00
jfs: remove redundant initialization to pointer ip
The pointer ip is being initialized with a value that is never read, it is being re-assigned later on. The assignment is redundant and can be removed. Cleans up clang scan warning: fs/jfs/namei.c:886:16: warning: Value stored to 'ip' during its initialization is never read [deadcode.DeadStores] Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
This commit is contained in:
parent
6e2bda2c19
commit
87098a0d9e
1 changed files with 1 additions and 1 deletions
|
@ -883,7 +883,7 @@ static int jfs_symlink(struct mnt_idmap *idmap, struct inode *dip,
|
||||||
struct component_name dname;
|
struct component_name dname;
|
||||||
u32 ssize; /* source pathname size */
|
u32 ssize; /* source pathname size */
|
||||||
struct btstack btstack;
|
struct btstack btstack;
|
||||||
struct inode *ip = d_inode(dentry);
|
struct inode *ip;
|
||||||
s64 xlen = 0;
|
s64 xlen = 0;
|
||||||
int bmask = 0, xsize;
|
int bmask = 0, xsize;
|
||||||
s64 xaddr;
|
s64 xaddr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue