mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-18 21:43:14 +00:00
Remove xfer_ready() (it has been replaced by xfer_window())
This commit is contained in:
parent
55d03ccbe3
commit
f0c44f2f71
@ -126,20 +126,6 @@ size_t xfer_window ( struct xfer_interface *xfer ) {
|
||||
return len;
|
||||
}
|
||||
|
||||
/**
|
||||
* Test to see if interface is ready to accept data
|
||||
*
|
||||
* @v xfer Data transfer interface
|
||||
* @ret rc Return status code
|
||||
*
|
||||
* This test is optional; the data transfer interface may wish that it
|
||||
* does not yet wish to accept data, but cannot prevent attempts to
|
||||
* deliver data to it.
|
||||
*/
|
||||
int xfer_ready ( struct xfer_interface *xfer ) {
|
||||
return xfer_seek ( xfer, 0, SEEK_CUR );
|
||||
}
|
||||
|
||||
/**
|
||||
* Allocate I/O buffer
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user