net: qlcnic: delete redundant memsets
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 9 Sep 2015 08:38:05 +0000 (10:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2015 00:06:01 +0000 (17:06 -0700)
commit1f0ca208531a152e1da6aa43d095fe0b2039d9ca
tree46fce4b9df9e279f08ea3a5dfda07866d95ab660
parentb66a60857ca4fae5900c5d81c2ba04e657509b99
net: qlcnic: delete redundant memsets

In all cases, mbx->req.arg and mbx->rsp.arg have just been allocated
using kcalloc(), so these six memsets are redundant.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c