ide-tape: don't initialize rq->sector for rw requests
authorTejun Heo <tj@kernel.org>
Thu, 7 May 2009 13:24:36 +0000 (22:24 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 11 May 2009 07:50:53 +0000 (09:50 +0200)
commit9720aef2539c10e3a872e9a92beec225030d99db
tree9c884ca078ddb0e9cffdd3bb11cf7569db47567c
parent53d6979ab6747e758207e8ac861b96d0da0d3332
ide-tape: don't initialize rq->sector for rw requests

rq->sector is set to the tape->first_frame but it's never actually
used and not even in the correct unit (512 byte sectors).  Don't set
it.

[ Impact: cleanup ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/ide/ide-tape.c