diff options
author | Jiri Olsa <jolsa@kernel.org> | 2018-08-27 11:12:26 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-08-30 19:49:23 +0200 |
commit | cb45302d7c5e20f0c0598cdbd7753fa44daceb2a (patch) | |
tree | 4c967972893d85b5d937e531d21a3ee0c3b5fba7 /lib | |
parent | perf/hw_breakpoint: Modify breakpoint even if the new attr has disabled set (diff) | |
download | linux-cb45302d7c5e20f0c0598cdbd7753fa44daceb2a.tar.xz linux-cb45302d7c5e20f0c0598cdbd7753fa44daceb2a.zip |
perf/hw_breakpoint: Remove superfluous bp->attr.disabled = 0
Once the breakpoint was succesfully modified, the attr->disabled value
is in bp->attr.disabled. So there's no reason to set it again, removing
that.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Frederic Weisbecker <frederic@kernel.org>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Milind Chabbi <chabbi.milind@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180827091228.2878-4-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions