Commit 2760161d authored by Bharath SM's avatar Bharath SM Committed by Steve French
Browse files

cifs: remove redundant variable assignment



This removes an unnecessary variable assignment. The assigned
value will be overwritten by cifs_fattr_to_inode before it
is accessed, making the line redundant.

Signed-off-by: default avatarBharath SM <bharathsm@microsoft.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent fc20c523
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -401,7 +401,6 @@ cifs_get_file_info_unix(struct file *filp)
		cifs_unix_basic_to_fattr(&fattr, &find_data, cifs_sb);
	} else if (rc == -EREMOTE) {
		cifs_create_junction_fattr(&fattr, inode->i_sb);
		rc = 0;
	} else
		goto cifs_gfiunix_out;

@@ -846,7 +845,6 @@ cifs_get_file_info(struct file *filp)
		break;
	case -EREMOTE:
		cifs_create_junction_fattr(&fattr, inode->i_sb);
		rc = 0;
		break;
	case -EOPNOTSUPP:
	case -EINVAL: