From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com [209.85.216.179]) by dpdk.org (Postfix) with ESMTP id 1EEBE9A9E for ; Wed, 3 Jun 2015 23:13:18 +0200 (CEST) Received: by qcmi9 with SMTP id i9so10118148qcm.0 for ; Wed, 03 Jun 2015 14:13:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=mDvK30xgpwFC2AVOiSHb368DIPr0qWk9p1rfMQkwE/4=; b=RL+E4m4g/ISELVdcmvYIlTiikp+5ixr50Smp306kIFOoJExqAEGTsvUyEZguwPOKGe bW7CsXh8ejmKNGU3okUGTXB2LFEJhauNNbEiBDOestC3mhMH6OF7nybd5RWTP/LJZSYJ Z+FCpMW4e54fWjdnBNmS9k44AJ4XUTMJXg2vPohQBUsGAyy/4rQtNAMoe8IpmGjgRG9J KgLbnFLPM1o03VgMBCkjZuI6xZmo2CSdFSSLHspB4zCwilTstbqHtIIi3ZBr+IQRkqFd /f4gS2TcUT4wFJJVu2c3+LjnisGYmu6GaTY3ZiIBCEgwSh1xqLhhlJl9wX3mJxCBXRjD LPYw== X-Gm-Message-State: ALoCoQnJI+BFlxYY7IdlCljMziUOHVio/Bc3nzlJDTGzLCes3UQNf17hwzwN2JftMVDiQpgy2a5U X-Received: by 10.140.49.11 with SMTP id p11mr38264624qga.60.1433365997585; Wed, 03 Jun 2015 14:13:17 -0700 (PDT) Received: from urahara.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id x137sm1123906qkx.28.2015.06.03.14.13.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Jun 2015 14:13:16 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Date: Wed, 3 Jun 2015 14:13:09 -0700 Message-Id: <1433365992-9173-1-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH 0/3] get rid of unnecessary memset's X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 21:13:18 -0000 While looking at code is seems lots of drivers do not know the convention that info_get and stats_get both clear the buffer for the caller. Stephen Hemminger (3): bonding: remove useless memset ethdev: remove useless memset null: remove unnecessary memset drivers/net/bonding/rte_eth_bond_api.c | 1 - drivers/net/bonding/rte_eth_bond_pmd.c | 4 ---- drivers/net/null/rte_eth_null.c | 1 - lib/librte_ether/rte_ethdev.c | 1 - 4 files changed, 7 deletions(-) -- 2.1.4