nbd: don't clear rq->sector and nr_sectors unnecessarily
authorTejun Heo <tj@kernel.org>
Thu, 7 May 2009 13:24:35 +0000 (22:24 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 11 May 2009 07:50:53 +0000 (09:50 +0200)
commit53d6979ab6747e758207e8ac861b96d0da0d3332
treef95147fe83e984a1311db3da47d8d12b9ecbbf01
parentf68adec3c7155a8bbf32a90cb4c4d0737df045d9
nbd: don't clear rq->sector and nr_sectors unnecessarily

There's no reason to clear rq->sector and nr_sectors after calling
blk_rq_init().  They're guaranteed to be clear.  Drop unnecessary
clearing.

[ Impact: cleanup ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/nbd.c