Remove an extra call to read() in ibcs2_read() that can never be reached.
(It's already called a few lines earlier.) Approved by: re (scottl)
This commit is contained in:
parent
92df1b8f6f
commit
e9ccc53c63
@ -507,8 +507,6 @@ ibcs2_read(td, uap)
|
||||
}
|
||||
|
||||
off = fp->f_offset;
|
||||
if (vp->v_type != VDIR)
|
||||
return read(td, (struct read_args *)uap);
|
||||
|
||||
DPRINTF(("ibcs2_read: read directory\n"));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user