coresight: etm4x: Remove superfluous setting of os_unlock
authorAndrew Murray <andrew.murray@arm.com>
Thu, 29 Aug 2019 20:28:34 +0000 (14:28 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2019 20:01:16 +0000 (22:01 +0200)
commit6d7651015c16e1ee3576edbb5e88ba24f0f1fe7a
tree7e04812dee60a839442d543978f9c775664a287e
parent6c87bedc9e9c922093bec602687d991669eccc64
coresight: etm4x: Remove superfluous setting of os_unlock

In addition to unlocking the OS lock, etm4_os_unlock will also
set the os_unlock flag. Therefore let's avoid unnecessarily
setting os_unlock flag outside of this function.

Signed-off-by: Andrew Murray <andrew.murray@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
[Fixed capital letter for "remove" in the title]
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20190829202842.580-10-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-etm4x.c