block: don't init rq fields unnecessarily
authorTejun Heo <tj@kernel.org>
Tue, 28 Apr 2009 04:06:05 +0000 (13:06 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 28 Apr 2009 06:14:50 +0000 (08:14 +0200)
commit4c94dece1baf320d925cedb231489c4e0358ac5a
treefd0738e2f82c806e921e6c872b704cfbef3c0a1d
parent9fd8d0e1bcb848257968d9a7d73ca4d890ea8bd1
block: don't init rq fields unnecessarily

blk_get_request() always returns properly zeroed requests.  Don't set
fields to zero/NULL unnecessarily.

[ Impact: cleanup ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/scsi_ioctl.c