commit | a707edd2360e739a27fd7b1720edd075ee5f7f64 | [log] [tgz] |
---|---|---|
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | Sun Oct 26 21:35:04 2014 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 28 15:41:42 2014 +0800 |
tree | 1e1a973a709892e5a38340e67d482fbe5414e651 | |
parent | c650ba7377ad3602b3fad8651ceeec8a20b74b17 [diff] |
staging: rtl8188eu: core: Remove redundant memset before memcpy The region set by the call to memset, immediately overwritten by the subsequent call to memcpy makes the memset redundant. This patch removes the redundant memset before memcpy using the following coccinelle script: @@ expression e1,e2,e3,e4; @@ - memset(e1,e2,e3); memcpy(e1,e4,e3); Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>