* io/unit.c (get_unit): Remove superfluous if.

From-SVN: r86838
This commit is contained in:
Paul Brook 2004-08-31 18:59:42 +00:00 committed by Paul Brook
parent 11bb4b2798
commit 8a210b0fb0
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2004-08-31 Paul Brook <paul@codesourcery.com>
* io/unit.c (get_unit): Remove superfluous if.
2004-08-31 Paul Brook <paul@codesourcery.com>
* io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF.

View File

@ -264,10 +264,8 @@ get_unit (int read_flag)
/* Has to be an external unit */
u = find_unit (ioparm.unit);
if (u != NULL)
return u;
return NULL;
return u;
}