cifs: remove redundant assignment to pointer p
Subsystems (3)
PATCH 1/1 cifs: remove redundant assignment to pointer p
The pointer p is assigned a value that is never read, it is being re-assigned later. The assignment is redundant and can be removed.
Signed-off-by Colin Ian King <[email protected]>
--- fs/cifs/cifsfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/cifs/cifsfs.c +1 -1
@@ -775,7 +775,7 @@ cifs_get_root(struct smb3_fs_context *ctx, struct super_block *sb) sep =CIFS_DIR_SEP (cifs_sb); dentry =dget (sb->s_root); - p = s = full_path; + s = full_path; do { struct inode *dir = d_inode(dentry);
Signature · 1 line
2.33.1