summaryrefslogtreecommitdiffstats
path: root/tools/virtio
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2019-05-08 15:20:01 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-05-28 23:37:44 +0200
commitcacddfe7b0804752528e8100461266ec33dc6b64 (patch)
treeabfd89a828a1c11799c596215a4ddd232072791c /tools/virtio
parentperf dso: Separate generic code in dso_cache__read (diff)
downloadlinux-cacddfe7b0804752528e8100461266ec33dc6b64.tar.xz
linux-cacddfe7b0804752528e8100461266ec33dc6b64.zip
perf dso: Simplify dso_cache__read function
There's no need for the while loop now, also we can connect two (ret > 0) condition legs together. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Song Liu <songliubraving@fb.com> Cc: Stanislav Fomichev <sdf@google.com> Link: http://lkml.kernel.org/r/20190508132010.14512-4-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions