cs-etm: removing unecessary structure field
authorMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 20 May 2016 17:35:25 +0000 (11:35 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 20 Jun 2016 17:16:08 +0000 (11:16 -0600)
commitfb91616a5e3c41d308cea8efc110d38de9055d9c
tree858f103b41dcf957c651714b751f171e144d3ce0
parent7b4fe2ff5a850c70174381adbcf4fd32e41a969c
cs-etm: removing unecessary structure field

Function cs_etm__sample() is called only from cs_etm__run_decoder() where
cs_etm_queue::have_sample is set to 'true'.  As such checking the value of
the variable again in cs_etm__sample() is not needed.

Since the variable isn't used anywhere else, also removing it from the
structure definition.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
tools/perf/util/cs-etm.c