Tag: 4dec7d045d6d20afe794adbda5b6da2fe5d63a35

i40e: Remove redundant memset

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> 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 Tested-by: Andrew Bowers Signed-off-by: Jeff Kirsher — drivers/net/ethernet/intel/i40e/i40e_main.c | 1 – 1 file changed, 1 deletion(-)   …

Continue reading