summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJan Höppner <hoeppner@linux.ibm.com>2023-09-15 16:09:59 +0300
committerJens Axboe <axboe@kernel.dk>2023-10-04 17:04:08 +0300
commitd323c1a9477a82843795f10fb23f1634cea44007 (patch)
treea86d2ae6890696c43eddcbe9c832fd02372c01b4 /tools/perf/scripts/python
parent5e9b7cfc209b84d135993b8cb75ea383f24b2bba (diff)
downloadlinux-d323c1a9477a82843795f10fb23f1634cea44007.tar.xz
partitions/ibm: Remove unnecessary memset
The data holding the volume label information is zeroed in case no valid volume label was found. Since the label information isn't used in that case, zeroing the data doesn't provide any value whatsoever. Remove the unnecessary memset() call accordingly. Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Link: https://lore.kernel.org/r/20230915131001.697070-2-sth@linux.ibm.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions