summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/g_NCR5380.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-05-07 15:24:36 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-05-11 09:50:53 +0200
commit9720aef2539c10e3a872e9a92beec225030d99db (patch)
tree9c884ca078ddb0e9cffdd3bb11cf7569db47567c /drivers/scsi/g_NCR5380.c
parentnbd: don't clear rq->sector and nr_sectors unnecessarily (diff)
downloadlinux-9720aef2539c10e3a872e9a92beec225030d99db.tar.xz
linux-9720aef2539c10e3a872e9a92beec225030d99db.zip
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>
Diffstat (limited to 'drivers/scsi/g_NCR5380.c')
0 files changed, 0 insertions, 0 deletions