RE: [PATCH 2/4] e1000e/ethtool.c : Remove unnecessary usages of memset.

From: Brown, Aaron F
Date: Tue Jul 28 2020 - 16:48:46 EST


> From: Suraj Upadhyay <usuraj35@xxxxxxxxx>
> Sent: Tuesday, July 14, 2020 12:41 PM
> To: Kirsher, Jeffrey T <jeffrey.t.kirsher@xxxxxxxxx>; davem@xxxxxxxxxxxxx;
> kuba@xxxxxxxxxx
> Cc: intel-wired-lan@xxxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; kernel-janitors@xxxxxxxxxxxxxxx
> Subject: [PATCH 2/4] e1000e/ethtool.c : Remove unnecessary usages of
> memset.
>
> Replace memsets of 1 byte with simple assignments.
> Issue found with checkpatch.pl
>
> Signed-off-by: Suraj Upadhyay <usuraj35@xxxxxxxxx>
> ---
> drivers/net/ethernet/intel/e1000e/ethtool.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Tested-by: Aaron Brown <aaron.f.brown@xxxxxxxxx>