Remove duplicate NULL check in kern_proc_filedesc_out.
No functional changes. MFC after: 1 week
This commit is contained in:
parent
6359d169ef
commit
07bd8bf929
@ -3446,9 +3446,8 @@ kern_proc_filedesc_out(struct proc *p, struct sbuf *sb, ssize_t maxlen)
|
||||
break;
|
||||
}
|
||||
FILEDESC_SUNLOCK(fdp);
|
||||
fddrop(fdp);
|
||||
fail:
|
||||
if (fdp != NULL)
|
||||
fddrop(fdp);
|
||||
free(efbuf, M_TEMP);
|
||||
return (error);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user