Commit bc15bec
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>1 parent b859e01 commit bc15bec
1 file changed
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
989 | | - | |
990 | 989 | | |
991 | 990 | | |
992 | 991 | | |
| |||
997 | 996 | | |
998 | 997 | | |
999 | 998 | | |
1000 | | - | |
1001 | 999 | | |
1002 | 1000 | | |
1003 | 1001 | | |
| |||
1008 | 1006 | | |
1009 | 1007 | | |
1010 | 1008 | | |
1011 | | - | |
1012 | 1009 | | |
1013 | 1010 | | |
1014 | 1011 | | |
| |||
1017 | 1014 | | |
1018 | 1015 | | |
1019 | 1016 | | |
1020 | | - | |
1021 | 1017 | | |
1022 | 1018 | | |
1023 | 1019 | | |
| |||
1028 | 1024 | | |
1029 | 1025 | | |
1030 | 1026 | | |
1031 | | - | |
1032 | 1027 | | |
1033 | 1028 | | |
1034 | 1029 | | |
| |||
0 commit comments