From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 60699A0096 for ; Tue, 4 Jun 2019 15:27:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 187AB1BC78; Tue, 4 Jun 2019 15:27:17 +0200 (CEST) Received: from mail-ot1-f65.google.com (mail-ot1-f65.google.com [209.85.210.65]) by dpdk.org (Postfix) with ESMTP id 035821BC1E for ; Tue, 4 Jun 2019 15:27:16 +0200 (CEST) Received: by mail-ot1-f65.google.com with SMTP id i8so19468355oth.10 for ; Tue, 04 Jun 2019 06:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B5TAsL3EKbsS84FZ2SR4iVXz7lDh4edT+U3oVg7IDc4=; b=P+eyy0xKmIAngrogdN112Zre9SGQz68zHsgtIbkybCdk7sRQ6ST2IC1HGDVcbNYGzU 8zC6lordiPN7wYWc+Gf8oqKpg2pFnyzK5rxnY+MS81v/M7sC1uL/u+Lc6xMkkF/RK+ib A5F0Eb7/EsImjvA4wbPMF5PuHxG1zeChuuHgc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B5TAsL3EKbsS84FZ2SR4iVXz7lDh4edT+U3oVg7IDc4=; b=P4JqAyVer1kmS035576QiqtBskn6BF/hPHZ78radepbNW1Kbj9irgXRbokr77UYFCd FFDa3zoHVmAu6N7w8NxQwCi3R7QBbFb8xia25fOltxxUKbHUfBXEq/A7W6b9QEGAc24B 5CyOAhS4P/AlBuGP2U8kxFyJz7JlEtR+IkZGmZD/0TYCvzHpJj+nQM2lCnEh9sVqS5oP FXK9U/dz1XZJGaRTrlOSosk40UWiGnKSDDGDb9lQej4g2MFcrr2XW8uDuu96HlZn2Q6E ESD1Ru/k5/HLCHZuZwR8jmlzK3Xwvs1BPIJ/E64sne6diONXvuMMmiFPQ8H2u5NTYXpt cTlQ== X-Gm-Message-State: APjAAAVsqgpPtcCgSc75/Ky473phUrREaNX/rgJUYwHvw46RLyI/2gIK cgIIiabp5WHRHc+L77D0DAss7k4gLmGKUTV3BNUGFCwP/AQ= X-Google-Smtp-Source: APXvYqz2Syt5AX6XkOufax1cFaA12zzv4sQgYZq/obQkOZSgFKJeX+AdrxxAdnvkC14IROJw5QRZkvGHgEAqNkryrks= X-Received: by 2002:a05:6830:128e:: with SMTP id z14mr5323796otp.172.1559654835432; Tue, 04 Jun 2019 06:27:15 -0700 (PDT) MIME-Version: 1.0 References: <20190529191501.19053-1-stephen@networkplumber.org> <20190529191501.19053-5-stephen@networkplumber.org> In-Reply-To: <20190529191501.19053-5-stephen@networkplumber.org> From: Lance Richardson Date: Tue, 4 Jun 2019 09:27:04 -0400 Message-ID: To: Stephen Hemminger Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 04/12] net/bnxt: remove unnecessary cast X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, May 29, 2019 at 3:15 PM Stephen Hemminger wrote: > > The device private pointer (dev_private) is of type void * > therefore no cast is necessary in C. > > Signed-off-by: Stephen Hemminger > --- > drivers/net/bnxt/bnxt_ethdev.c | 86 ++++++++++++++++----------------- > drivers/net/bnxt/bnxt_flow.c | 10 ++-- > drivers/net/bnxt/bnxt_irq.c | 2 +- > drivers/net/bnxt/bnxt_rxq.c | 6 +-- > drivers/net/bnxt/bnxt_stats.c | 6 +-- > drivers/net/bnxt/bnxt_txq.c | 2 +- > drivers/net/bnxt/bnxt_txr.c | 4 +- > drivers/net/bnxt/rte_pmd_bnxt.c | 32 ++++++------ > 8 files changed, 74 insertions(+), 74 deletions(-) > Acked-by: Lance Richardson