From: Yuval Shaia
Date: Thu, 8 Jun 2017 16:32:21 +0300
> Take advantage of compiler variable zero-ing and remove calls to memset.
>
> Signed-off-by: Yuval Shaia
That construct looks so ugly, also the memset()'s in some cases are
constrained to the basic blockwhere the variable is used, avoidi
Take advantage of compiler variable zero-ing and remove calls to memset.
Signed-off-by: Yuval Shaia
---
net/core/ethtool.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/net/core/ethtool.c b/net/core/ethtool.c
index 03111a2..051af09 100644
--- a/net/co