diff options
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index b08606452f..eddd06e343 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -2067,11 +2067,6 @@ int reply_readbraw(connection_struct *conn, char *inbuf, char *outbuf, int dum_s int predict=0; _smb_setlen(header,nread); -#if USE_READ_PREDICTION - if (!fsp->can_write) - predict = read_predict(fsp, fsp->fd,startpos,header+4,NULL,nread); -#endif /* USE_READ_PREDICTION */ - if ((nread-predict) > 0) { if(conn->vfs_ops.seek(fsp,startpos + predict) == -1) { DEBUG(0,("reply_readbraw: ERROR: seek_file failed.\n")); |