From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH 08/11] net: remmove unnecessary cast of void pointer Date: Fri, 7 Apr 2017 13:44:54 -0400 Message-ID: <20170407174457.4180-9-stephen@networkplumber.org> References: <20170407174457.4180-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: dev@dpdk.org Return-path: Received: from mail-io0-f171.google.com (mail-io0-f171.google.com [209.85.223.171]) by dpdk.org (Postfix) with ESMTP id 1569BD003 for ; Fri, 7 Apr 2017 19:45:12 +0200 (CEST) Received: by mail-io0-f171.google.com with SMTP id t68so20415322iof.0 for ; Fri, 07 Apr 2017 10:45:12 -0700 (PDT) In-Reply-To: <20170407174457.4180-1-stephen@networkplumber.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Remove unnecessary casts of void * pointers to a specfic type. Signed-off-by: Stephen Hemminger --- lib/librte_net/rte_net_crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_net/rte_net_crc.c b/lib/librte_net/rte_net_crc.c index 72efe2026..e8326fe76 100644 --- a/lib/librte_net/rte_net_crc.c +++ b/lib/librte_net/rte_net_crc.c @@ -185,7 +185,7 @@ rte_net_crc_calc(const void *data, rte_net_crc_handler f_handle; f_handle = handlers[type]; - ret = f_handle((const uint8_t *) data, data_len); + ret = f_handle(data, data_len); return ret; } -- 2.11.0