commit | 4dec7d045d6d20afe794adbda5b6da2fe5d63a35 | [log] [tgz] |
---|---|---|
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | Thu Jun 23 10:30:55 2016 +0530 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Fri Jul 22 00:07:05 2016 -0700 |
tree | e9105dccdec4da7cf96588687a08847473b8614b | |
parent | ae33256c55d2fefcad8712e750b846461994a1af [diff] |
i40e: Remove redundant memset Remove redundant call to memset before a call to memcpy. The Coccinelle semantic patch used to make this change is as follows: @@ expression e1,e2,e3,e4; @@ - memset(e1,e2,e3); memcpy(e1,e4,e3); Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>