commit | 19418b024427ec60ba6084addf691a8d93670398 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@linux.intel.com> | Wed Oct 10 16:39:06 2018 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Fri Oct 12 08:39:15 2018 -0700 |
tree | a92739838e0700bb092d595c29e1acbb5f583a90 | |
parent | 1cfeb66e8e137be8e01b88bb4d416e987abda4a4 [diff] |
nvdimm: Remove empty if statement This patch removes an empty statement from an if expression and promotes the else statement to the if expression with the expression logic reversed. I feel this is more readable as the empty statement can lead to issues if any additional logic was ever added. Reviewed-by: Toshi Kani <toshi.kani@hpe.com> Signed-off-by: Alexander Duyck <alexander.h.duyck@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>