diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-07 17:37:50 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-07-14 20:28:26 +0200 |
commit | 53fc59511fc4c567342b2ef3f7b99a086430e0b4 (patch) | |
tree | d5370d72dd2944298ba23a921497c8e4b7958a6a /usr | |
parent | nvdimm/namespace: return uuid_null only once in nd_dev_to_uuid() (diff) | |
download | linux-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