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

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.