File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -163,12 +163,12 @@ unsigned long kallsyms_sym_address(int idx)
163
163
return kallsyms_relative_base - 1 - kallsyms_offsets [idx ];
164
164
}
165
165
166
- static bool cleanup_symbol_name (char * s )
166
+ static void cleanup_symbol_name (char * s )
167
167
{
168
168
char * res ;
169
169
170
170
if (!IS_ENABLED (CONFIG_LTO_CLANG ))
171
- return false ;
171
+ return ;
172
172
173
173
/*
174
174
* LLVM appends various suffixes for local functions and variables that
@@ -178,12 +178,10 @@ static bool cleanup_symbol_name(char *s)
178
178
* - foo.llvm.[0-9a-f]+
179
179
*/
180
180
res = strstr (s , ".llvm." );
181
- if (res ) {
181
+ if (res )
182
182
* res = '\0' ;
183
- return true;
184
- }
185
183
186
- return false ;
184
+ return ;
187
185
}
188
186
189
187
static int compare_symbol_name (const char * name , char * namebuf )
You can’t perform that action at this time.
0 commit comments