From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH 0/3] get rid of unnecessary memset's Date: Wed, 3 Jun 2015 14:13:09 -0700 Message-ID: <1433365992-9173-1-git-send-email-stephen@networkplumber.org> To: dev@dpdk.org 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) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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