summaryrefslogtreecommitdiff
path: root/AUTHORS
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-04-12 10:57:13 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-04-12 10:58:38 +0200
commit4a4b85aac16ccb59f01700ee8fb903dcdc7fcf65 (patch)
treee606fb4a0d2eccedd50a483c25b5950530dc8012 /AUTHORS
parenteedf26d355b3dcbaa8324db678868fe11e57d5ce (diff)
netsniff-ng: remove unnecessary zeroing of packet counters in init_ctx()
The struct ctx in initialized using memset(ctx, 0, sizeof(*ctx) in init_ctx(), so there is no need to zero these members again. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions
/div>
This fixes the following smatch and coccinelle warnings: drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119 xcv_setup_link() error: we previously assumed 'xcv' could be null (see line 118) [smatch] drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119:16-20: ERROR: xcv is NULL but dereferenced. [coccinelle] Fixes: 6465859aba1e66a5 ("net: thunderx: Add RGMII interface type support") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/math-emu/double.h')