diff options
author | 2016-11-29 09:47:17 -0700 | |
---|---|---|
committer | 2016-11-29 20:05:32 +0100 | |
commit | 675a502305c49c6778a53ac47061783defc386ad (patch) | |
tree | 639a425cd0e97adc8f5aeda6be4e72d8831c13cc /drivers/fpga/fpga-mgr.c | |
parent | coresight: tmc: Get rid of mode parameter for helper routines (diff) | |
download | linux-dev-675a502305c49c6778a53ac47061783defc386ad.tar.xz linux-dev-675a502305c49c6778a53ac47061783defc386ad.zip |
coresight: tmc: Remove duplicate memset
The tmc_etr_enable_hw() fills the buffer with 0's before enabling
the hardware. So, we don't need an explicit memset() in
tmc_enable_etr_sink_sysfs() before calling the tmc_etr_enable_hw().
This patch removes the explicit memset from tmc_enable_etr_sink_sysfs.
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions