diff options
author | Borislav Petkov <petkovbb@gmail.com> | 2009-05-01 21:21:02 +0200 |
---|---|---|
committer | Borislav Petkov <petkovbb@gmail.com> | 2009-05-15 06:44:02 +0200 |
commit | 077e6dba20e74a455a0452379d2a965c7e1b01ad (patch) | |
tree | 66b4a755d6e5941578d5a14b778b0734273343c5 /include/linux/ide.h | |
parent | dfb7e621fa12c0579e88560ab176c5768f9e0bfb (diff) | |
download | linux-3.10-077e6dba20e74a455a0452379d2a965c7e1b01ad.tar.gz linux-3.10-077e6dba20e74a455a0452379d2a965c7e1b01ad.tar.bz2 linux-3.10-077e6dba20e74a455a0452379d2a965c7e1b01ad.zip |
ide-atapi: switch to rq->resid_len
Now that we have rq->resid_len, use it to account partial completion
amount during the lifetime of an rq, decrementing it on each successful
transfer. As a result, get rid of now unused pc->xferred.
While at it, remove noisy debug call in ide_prep_sense.
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 34c128f0a33..745a393af27 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -357,8 +357,6 @@ struct ide_atapi_pc { /* bytes to transfer */ int req_xfer; - /* bytes actually transferred */ - int xferred; /* data buffer */ u8 *buf; |