Skip to content

Commit

Permalink
coda: remove err which no one care
Browse files Browse the repository at this point in the history
No one care 'err' in func coda_release, so better remove it.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alex Shi <[email protected]>
Signed-off-by: Jan Harkes <[email protected]>
Cc: Jing Yangyang <[email protected]>
Cc: Xin Tan <[email protected]>
Cc: Xiyu Yang <[email protected]>
Cc: Zeal Robot <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
alexshi authored and torvalds committed Nov 9, 2021
1 parent 3d8e72d commit b1deb68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/coda/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,10 @@ int coda_release(struct inode *coda_inode, struct file *coda_file)
struct coda_file_info *cfi;
struct coda_inode_info *cii;
struct inode *host_inode;
int err;

cfi = coda_ftoc(coda_file);

err = venus_close(coda_inode->i_sb, coda_i2f(coda_inode),
venus_close(coda_inode->i_sb, coda_i2f(coda_inode),
coda_flags, coda_file->f_cred->fsuid);

host_inode = file_inode(cfi->cfi_container);
Expand Down

0 comments on commit b1deb68

Please sign in to comment.