i2c: jz4780: drop superfluous init
BugLink: http://bugs.launchpad.net/bugs/1715430 commit 27bfeb5a upstream. 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> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Stefan Bader <stefan.bader@canonical.com> Signed-off-by:
Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Showing
Please register or sign in to comment