summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-07-18 07:38:43 (GMT)
committerNeilBrown <neilb@suse.de>2011-07-18 07:38:43 (GMT)
commit2c4193df379bb89114ff60d4b0fa66131abe6a75 (patch)
tree5eed0d76e3b8ae12a543e0deab771c48f6597a40 /security
parent1765a367a3b5d5e9692949b0c5ec933eff2c0701 (diff)
downloadlinux-2c4193df379bb89114ff60d4b0fa66131abe6a75.tar.xz
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions