projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: No need to check if the argument to __get() function is NULL
[linux-2.6-microblaze.git]
/
tools
/
perf
/
builtin-probe.c
diff --git
a/tools/perf/builtin-probe.c
b/tools/perf/builtin-probe.c
index
c006592
..
99de916
100644
(file)
--- a/
tools/perf/builtin-probe.c
+++ b/
tools/perf/builtin-probe.c
@@
-81,8
+81,7
@@
static int parse_probe_event(const char *str)
params.target_used = true;
}
- if (params.nsi)
- pev->nsi = nsinfo__get(params.nsi);
+ pev->nsi = nsinfo__get(params.nsi);
/* Parse a perf-probe command into event */
ret = parse_perf_probe_command(str, pev);