mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
Staging: Lustre: lproc_fid: remove some dead code
We know "rc == 0" so there is no need to check. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b815555df8
commit
1c01737a4b
1 changed files with 2 additions and 4 deletions
|
@ -157,10 +157,8 @@ ldebugfs_fid_width_seq_write(struct file *file,
|
|||
if (val <= max && val > 0) {
|
||||
seq->lcs_width = val;
|
||||
|
||||
if (rc == 0) {
|
||||
CDEBUG(D_INFO, "%s: Sequence size: %llu\n",
|
||||
seq->lcs_name, seq->lcs_width);
|
||||
}
|
||||
CDEBUG(D_INFO, "%s: Sequence size: %llu\n", seq->lcs_name,
|
||||
seq->lcs_width);
|
||||
}
|
||||
|
||||
mutex_unlock(&seq->lcs_mutex);
|
||||
|
|
Loading…
Reference in a new issue