summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@linux.intel.com>2018-10-11 01:39:06 +0200
committerDan Williams <dan.j.williams@intel.com>2018-10-12 17:39:15 +0200
commit19418b024427ec60ba6084addf691a8d93670398 (patch)
treea92739838e0700bb092d595c29e1acbb5f583a90 /.clang-format
parentnvdimm: Clarify comment in sizeof_namespace_index (diff)
downloadlinux-19418b024427ec60ba6084addf691a8d93670398.tar.xz
linux-19418b024427ec60ba6084addf691a8d93670398.zip
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>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions