]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Remove unnecessary usages of memset
authorSuraj Upadhyay <usuraj35@gmail.com>
Tue, 14 Jul 2020 19:41:47 +0000 (01:11 +0530)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 30 Jul 2020 17:51:25 +0000 (10:51 -0700)
commit0d084849e8478d1f7007d71b09d5b53f7c20fad5
treedb232e48296e093f8579c940e8958d75919f3c0d
parent7906f45b73758c13fa2af845c9c4c1a2b500c9e5
igb: Remove unnecessary usages of memset

Replace memsets of 1 byte with simple assignment.
Issue found with checkpatch.pl

Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/igb_ethtool.c