summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2019-04-28 16:32:28 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-05-02 16:00:20 -0400
commitcf0c37b6dbf74fb71bea07b516612d29e00dcbc4 (patch)
tree030fa0a5219842715da9b70ba761f981dcf3f8a8 /init
parent167e418fa0871c083e2c74508d73012abb01e6f7 (diff)
perf cs-etm: Don't check cs_etm_queue::prev_packet validity
Since cs_etm_queue::prev_packet is allocated for all cases, it will never be NULL pointer; now validity checking prev_packet is pointless, remove all of them. Signed-off-by: Leo Yan <leo.yan@linaro.org> Tested-by: Robert Walker <robert.walker@arm.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Mike Leach <mike.leach@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Suzuki K Poulouse <suzuki.poulose@arm.com> Cc: linux-arm-kernel@lists.infradead.org Link: http://lkml.kernel.org/r/20190428083228.20246-2-leo.yan@linaro.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions