diff options
author | 2022-06-07 18:37:50 +0300 | |
---|---|---|
committer | 2022-07-14 11:28:26 -0700 | |
commit | 53fc59511fc4c567342b2ef3f7b99a086430e0b4 (patch) | |
tree | d5370d72dd2944298ba23a921497c8e4b7958a6a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | nvdimm/namespace: return uuid_null only once in nd_dev_to_uuid() (diff) | |
download | wireguard-linux-53fc59511fc4c567342b2ef3f7b99a086430e0b4.tar.xz wireguard-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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions