diff options
| author | Cody P Schafer <[email protected]> | 2012-08-10 15:22:53 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-08-13 14:22:32 -0300 |
| commit | 0a0317b41e20770f81bc61d7b208957385466c3f (patch) | |
| tree | 5347b6fabc6507bcf65781758929f3a39e593f34 /scripts/objdiff | |
| parent | 82151520938ec79e5e3adb7e61977f002031c38c (diff) | |
perf symbols: Simplify out_fixup in kernel syms loading
The only site that jumps to out_fixup has (kallsyms_filename == NULL).
And all paths that reach 'if (err > 0)' without 'goto out_fixup' have
kallsyms_filename != NULL.
So skip over both the check & dso__set_long_name(), and remove the
check.
Signed-off-by: Cody P Schafer <[email protected]>
Cc: David Hansen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Matt Hellsley <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sukadev Bhattiprolu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions