diff options
| author | Lipeng <[email protected]> | 2017-10-23 19:51:06 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-24 01:16:42 +0100 |
| commit | 51145dae2748233315a7a411cd97f4bedf8cc22f (patch) | |
| tree | 7685626117e531b8a4f523e1f68a96f00dc5d071 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 66b447301ac710ee237dba8b653244018fbb6168 (diff) | |
net: hns3: remove redundant memset when alloc buffer
HW will use packet length to write packets to buffer or read
packets from buffer. There is a redundant memset when alloc buffer,
the memset have no sense and will increase time-consuming.
This patch removes it.
Fixes: 76ad4f0 (net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC)
Signed-off-by: Lipeng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions