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

Replace memsets of 1 byte with simple assignments.
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/e1000e/ethtool.c