summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-06-07 17:37:50 +0200
committerDan Williams <dan.j.williams@intel.com>2022-07-14 20:28:26 +0200
commit53fc59511fc4c567342b2ef3f7b99a086430e0b4 (patch)
treed5370d72dd2944298ba23a921497c8e4b7958a6a /usr
parentnvdimm/namespace: return uuid_null only once in nd_dev_to_uuid() (diff)
downloadlinux-53fc59511fc4c567342b2ef3f7b99a086430e0b4.tar.xz
linux-53fc59511fc4c567342b2ef3f7b99a086430e0b4.zip
nvdimm/namespace: drop unneeded temporary variable in size_store()
Refactor size_store() in order to remove temporary variable on stack by joining conditionals. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220607153750.33639-1-andriy.shevchenko@linux.intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions