xia: style fix for assignment in if condition

This patch complies with patch:
  - 6c72ffaab9851e3ee380c77169c0cfcba6b58d4c
  update checkpatch.pl to version 0.11

All instances of assignments in if conditions were removed.