1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cleanup: drop extra ()

Pure  '==' test doesn't need extra ().
This commit is contained in:
Zdenek Kabelac 2014-08-29 11:58:16 +02:00
parent 2a0ec5d396
commit fa1a0d170a
2 changed files with 2 additions and 2 deletions

View File

@ -2122,7 +2122,7 @@ static const char *_tok_value_string_list(const struct dm_report_field_type *ft,
}
/* Store information whether [] or {} was used. */
if ((end_op_flag_expected == SEL_LIST_LE))
if (end_op_flag_expected == SEL_LIST_LE)
ssl->type |= SEL_LIST_LS;
else
ssl->type |= SEL_LIST_SUBSET_LS;

View File

@ -794,7 +794,7 @@ static int lvchange_writemostly(struct logical_volume *lv)
* We don't bother checking the metadata area,
* since writemostly only affects the data areas.
*/
if ((seg_type(raid_seg, s) == AREA_UNASSIGNED))
if (seg_type(raid_seg, s) == AREA_UNASSIGNED)
continue;
if (lv_is_on_pv(seg_lv(raid_seg, s), pvl->pv)) {