commit | 27bfeb5a0619554d9734fb39e14f0e80fa7c342c | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@the-dreams.de> | Sun Jun 05 11:41:42 2016 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Jun 13 22:32:09 2016 +0200 |
tree | 89cbbc784677843d4440ab12f7a96db2c22bbb54 | |
parent | a90bc5d9a77a4e0d5e65f69ef56eb40627f50e3e [diff] |
i2c: jz4780: drop superfluous init David reported that the length for memset was incorrect (element sizes were not taken into account). Then I saw that we are clearing kzalloced memory, so we can simply drop this code. Reported-by: David Binderman <dcb314@hotmail.com> Reviewed-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>