Skip to content
Commit 4dec7d04 authored by Amitoj Kaur Chawla's avatar Amitoj Kaur Chawla Committed by Jeff Kirsher
Browse files

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: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent ae33256c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment