On Saturday 09 May 2009 09:45:23 Borislav Petkov wrote: > 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@xxxxxxxxx> > --- > drivers/ide/ide-atapi.c | 17 ++++++++--------- > drivers/ide/ide-tape.c | 11 ++++------- > include/linux/ide.h | 2 -- > 3 files changed, 12 insertions(+), 18 deletions(-) WARNING: line over 80 characters #118: FILE: drivers/ide/ide-tape.c:370: + int blocks = (blk_rq_bytes(rq) - rq->resid_len) / tape->blk_size; -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html