mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove un-needed call to close(2). The fd that close is being
called on is invalid and has no use. Reviewed by: smkelly
This commit is contained in:
parent
2f5d3f6f6a
commit
668e800b6f
1 changed files with 0 additions and 1 deletions
|
|
@ -973,7 +973,6 @@ kvm_uread(kd, kp, uva, buf, len)
|
|||
fd = open(procfile, O_RDONLY, 0);
|
||||
if (fd < 0) {
|
||||
_kvm_err(kd, kd->program, "cannot open %s", procfile);
|
||||
close(fd);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue