commit | fdbd13105d08fed6a8201549f389e9c12021b67b | [log] [tgz] |
---|---|---|
author | Alexey Klimov <alexey.klimov@linaro.org> | Thu Sep 10 03:38:19 2015 +0300 |
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | Thu Oct 15 17:41:59 2015 +0200 |
tree | babe8ebe0a326ef59d5c3c82a4126dc5771cb188 | |
parent | f14665f63b92f958636b7e7610ec2c9726ea9335 [diff] |
clocksource/drivers/em_sti: Remove unneeded memset()s Memory for cs and ced fields in struct em_sti_priv is allocated by devm_kzalloc() in the beginning of em_sti_probe() so they don't need to be zeroed one more time in em_sti_register_clocksource() and in em_sti_register_clockevent(). Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>