]> git.baikalelectronics.ru Git - kernel.git/commit
perf evsel: Remove superfluous initialization of weight
authorJiri Olsa <jolsa@kernel.org>
Mon, 19 Sep 2016 13:09:11 +0000 (15:09 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Sep 2016 15:07:24 +0000 (12:07 -0300)
commitb96157e8d4f26db296088bb044b164f2755f43b4
tree90ea3719d9d61f4ebd3a24a788fff18eda5b0bf2
parent51f307abfff2c5ba69c7ab6828cb3af3822aa279
perf evsel: Remove superfluous initialization of weight

Removing superfluous initialization of weight, it's already set to 0 via
memset.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Joe Mario <jmario@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1474290610-23241-3-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c