diff options
author | NeilBrown <neilb@suse.de> | 2011-12-23 10:17:52 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-12-23 10:17:52 +1100 |
commit | 995c4275a7e14b8752f301e4570831a108ae4303 (patch) | |
tree | 2bee4c8daf14b6453371bb348b18d37d7e3cdb07 /drivers/hwmon/pc87360.c | |
parent | ede7ee8b4d007f308aa033be676b1a048f99e9db (diff) | |
download | op-kernel-dev-995c4275a7e14b8752f301e4570831a108ae4303.zip op-kernel-dev-995c4275a7e14b8752f301e4570831a108ae4303.tar.gz |
md/raid5: remove redundant bio initialisations.
We current initialise some fields of a bio when preparing a
stripe_head, and again just before submitting the request.
Remove the duplication by only setting the fields that lower level
devices don't touch in raid5_build_block, and only set the changeable
fields in ops_run_io.
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/hwmon/pc87360.c')
0 files changed, 0 insertions, 0 deletions