diff options
author | Tejun Heo <tj@kernel.org> | 2009-05-07 15:24:35 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-05-11 09:50:53 +0200 |
commit | 53d6979ab6747e758207e8ac861b96d0da0d3332 (patch) | |
tree | f95147fe83e984a1311db3da47d8d12b9ecbbf01 /drivers/leds/leds-clevo-mail.c | |
parent | mg_disk: use defines from <linux/ata.h> (diff) | |
download | linux-53d6979ab6747e758207e8ac861b96d0da0d3332.tar.xz linux-53d6979ab6747e758207e8ac861b96d0da0d3332.zip |
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>
Diffstat (limited to 'drivers/leds/leds-clevo-mail.c')
0 files changed, 0 insertions, 0 deletions