]> git.karo-electronics.de Git - linux-beck.git/commit
s390/checksum: remove memset() within csum_partial_copy_from_user()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 24 Feb 2014 15:33:08 +0000 (16:33 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 24 Feb 2014 16:14:08 +0000 (17:14 +0100)
commitd72d2bb5a6bc85af77a9f969687c74ea00cdcc99
tree68292ca2d8ad311d11c7bb943f46244e6d9e9560
parent823002023da6d9124ed63bc622267c15ab2a7347
s390/checksum: remove memset() within csum_partial_copy_from_user()

The memset() within csum_partial_copy_from_user() is rather pointless since
copy_from_user() already cleared the rest of the destination buffer if an
exception happened.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/checksum.h