diff options
author | 2023-10-10 18:04:43 -0400 | |
---|---|---|
committer | 2023-10-12 15:20:17 -0500 | |
commit | bc15bec1f8833c2cc166c7713eb89a84e2ecf8a2 (patch) | |
tree | 5f64cf4641fe692a03ed6a513cc016eca5e4efa6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fs: dlm: Fix the size of a buffer in dlm_create_debug_file() (diff) | |
download | wireguard-linux-bc15bec1f8833c2cc166c7713eb89a84e2ecf8a2.tar.xz wireguard-linux-bc15bec1f8833c2cc166c7713eb89a84e2ecf8a2.zip |
fs: dlm: Remove some useless memset()
There is no need to clear the buffer used to build the file name.
snprintf() already guarantees that it is NULL terminated and such a
(useless) precaution was not done for the first string (i.e
ls_debug_rsb_dentry)
So, save a few LoC.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions