summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/security.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-06-07 18:37:50 +0300
committerDan Williams <dan.j.williams@intel.com>2022-07-14 11:28:26 -0700
commit53fc59511fc4c567342b2ef3f7b99a086430e0b4 (patch)
treed5370d72dd2944298ba23a921497c8e4b7958a6a /drivers/nvdimm/security.c
parent36a40c37389c7a1bef3f1024c55c056304acf439 (diff)
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 'drivers/nvdimm/security.c')
0 files changed, 0 insertions, 0 deletions