mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
cppcheck: return value always 0
Identical condition and return expression 'rc', return value is always 0. Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #11508
This commit is contained in:
parent
2cdd75bed7
commit
a06ba74a1e
@ -486,7 +486,7 @@ proc_kstat_open(struct inode *inode, struct file *filp)
|
||||
f = filp->private_data;
|
||||
f->private = PDE_DATA(inode);
|
||||
|
||||
return (rc);
|
||||
return (0);
|
||||
}
|
||||
|
||||
static ssize_t
|
||||
|
Loading…
Reference in New Issue
Block a user