commit | 2c4193df379bb89114ff60d4b0fa66131abe6a75 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Mon Jul 18 17:38:43 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Mon Jul 18 17:38:43 2011 +1000 |
tree | 5eed0d76e3b8ae12a543e0deab771c48f6597a40 | |
parent | 1765a367a3b5d5e9692949b0c5ec933eff2c0701 [diff] |
md/raid10: get rid of duplicated conditional expression Variable 'first' is initialized to zero and updated to @rdev->raid_disk only if it is greater than 0. Thus condition '>= first' always implies '>= 0' so the latter is not needed. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>