diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-06-07 18:37:50 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-07-14 11:28:26 -0700 |
commit | 53fc59511fc4c567342b2ef3f7b99a086430e0b4 (patch) | |
tree | d5370d72dd2944298ba23a921497c8e4b7958a6a /include/kunit/resource.h | |
parent | 36a40c37389c7a1bef3f1024c55c056304acf439 (diff) | |
download | linux-53fc59511fc4c567342b2ef3f7b99a086430e0b4.tar.gz linux-53fc59511fc4c567342b2ef3f7b99a086430e0b4.tar.bz2 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 'include/kunit/resource.h')
0 files changed, 0 insertions, 0 deletions