RE: [PATCH 1/4] e1000/e1000_ethtool.c: Remove unnecessary usages of memset

From: Brown, Aaron F
Date: Tue Jul 28 2020 - 16:45:40 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 1/4] e1000/e1000_ethtool.c: Remove unnecessary usages of
> memset
>
> Replace memsets of 1 byte with simple assignments.
> Issue reported by checkpatch.pl.
>
> Signed-off-by: Suraj Upadhyay <usuraj35@xxxxxxxxx>
> ---
> drivers/net/ethernet/intel/e1000/e1000_ethtool.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Tested-by: Aaron Brown <aaron.f.brown@xxxxxxxxx>