From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3ODRpHhd/SL2MfBfvdVNtHR2wn72GN8g/yXSNQyfC3w=; b=yIH+tkCxXAEWDpwSYJsQJzazd+G9A6GGl3e+86QAykOV2W7OoJuTGXXwi2lkdhgl4K 0xJl85uisd5YdAfiMvHv5K6GLPZtkxNVXCnV0n4YcmXue/EP8/lPMgeEtlrzFVhfTe0Y SSZ4dxhlVEHycwux3oD1yupdGlCQn8OROFUBNuucVRoO14hXJvVX6lSC2unurXiOAEwH RBSpNK5JMPJGF2AykXDRxPkjmk9YOmQvYNlUuAP+nmOf7eLii2a0vzkXbHckvcSoPyvc q1dxYeRpeRXncPouMwgB2ZmAH7K28COI5rEywEOzqL9uiVgspH1k8ezYSSnTCSivPgv5 Zm2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3ODRpHhd/SL2MfBfvdVNtHR2wn72GN8g/yXSNQyfC3w=; b=Gmh2E4Oc5UtbZrkLuvz0ZB4GEna5XQpV/SIi9+NCs5OO2Jk30dDT7//y5Nb5vaun8R jrfG6bSWdGUq8xN+7BSApwxrFpC37RhnStrTmofdDua9dzF57HWm3ETByswT95tvqOYn X1OVURPR5LflC28zB0FbRZ8cYPBed1lvhgPUtb6BxN+6Mq7OIloAw2QDBLwfl5TVmqlL HgklnPc8UPrKaBRfC66nNKs9tuq1+LHzsBYhWr4YJeEf1FJWlzVB4ZuWegtUdXzPntJq iTWnONZv4ZGOI7c0sYci6maFKiK2L4klbeib3YuYElS97h27afpb1TSh/tq4C/Wzaj3M 5vlA== X-Gm-Message-State: AFeK/H3sLNAhu8gXkAQvyKw0gfiH1hL1YuBVUSMeMlTagfh1aoI3Q2ySRb90AmmgILjK3w== X-Received: by 10.107.183.20 with SMTP id h20mr40760973iof.18.1491587111815; Fri, 07 Apr 2017 10:45:11 -0700 (PDT) Received: from plumbers-lap.home.lan ([66.171.166.114]) by smtp.gmail.com with ESMTPSA id s40sm4649675ite.18.2017.04.07.10.45.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Apr 2017 10:45:11 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Fri, 7 Apr 2017 13:44:54 -0400 Message-Id: <20170407174457.4180-9-stephen@networkplumber.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170407174457.4180-1-stephen@networkplumber.org> References: <20170407174457.4180-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 08/11] net: remmove unnecessary cast of void pointer 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: , X-List-Received-Date: Fri, 07 Apr 2017 17:45:13 -0000 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