From patchwork Fri Aug 9 09:27:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 11086017 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 521E51395 for ; Fri, 9 Aug 2019 09:27:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40FA628C54 for ; Fri, 9 Aug 2019 09:27:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3574528C57; Fri, 9 Aug 2019 09:27:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E347028C54 for ; Fri, 9 Aug 2019 09:27:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:To:From:Subject:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xAYh7GWNknqAwW1jT6WGRh31ZqyPentbYpaG1ryQazA=; b=afB47O32wHGeq5 BAjM+O4ZLjPXj80F3n41Y8B7ia88cmsvgHJd7IxN9sPWmw/4yCoMz6kjC4B9rmWcMJiFSiLqsASkI GmFgO/Vb93f2kgxN/olJ9Owf1Xb9T2XeBcp2I6ALiE/LltV7hoFl2C61vtZzM537fthqqyo9OaFkj Yd3PWDU5WjocIF3d2ga3KXGjl14P3FMEkSafd7b5MCn2df/orzDOIcESeMqx1OeVWr5jg2U4eWISI EAmKUyoca6wOQQ8RRCR7dYWSiVaJAiVY30mVyt2qRSVfqe/efotx+QO30bp4d4I7zhqpT5qzwtD+T FNN7fXz9SU93/1ri12Cg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hw1Bd-0000yY-GI; Fri, 09 Aug 2019 09:27:49 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hw1Ba-0000xo-UP for ath11k@lists.infradead.org; Fri, 09 Aug 2019 09:27:48 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 33A0A60721; Fri, 9 Aug 2019 09:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565342866; bh=+H27O2iz94KBFB924cND3NGlkv55B6BhA+x2oNDdz4w=; h=Subject:From:To:Date:In-Reply-To:References:From; b=Pw68dLPyT5JkbyLCUxpnYrejF8UHDlZMMmWO6BVqzKvEJCHzHIjQZFs9PthWF4jTA /lDsjmmrBnHyiUDl1454z0Hh329c88AaLYZ/vfJWKYrsMvSVS5Gfw/PHzFeg2Et/G5 iMAADfHIlxKveadAqPjUtFtyt2/k5+kGwUOqXQ7A= Received: from [127.0.1.1] (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9BE0B60AD1 for ; Fri, 9 Aug 2019 09:27:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1565342865; bh=+H27O2iz94KBFB924cND3NGlkv55B6BhA+x2oNDdz4w=; h=Subject:From:To:Date:In-Reply-To:References:From; b=e/TKxZY1L1QMD2sjdDlVwj3+uBqWHG3PtfLmhX6hRDdKmaLV1Ac68OH7fDX8zG9ad rlhtKcbXx0FOTe3J4XXo8Ml+qrd0VUjzfZ1lzWarByezrDiWXw5Iw0nUUocm2+ezCe wfEbbJ+rNTZnj9O4RomH0NULb1TL/+Sj3d+rWqto= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9BE0B60AD1 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Subject: [PATCH 12/15] ath11k: debug_htt_stats: remove unnecessary cast From: Kalle Valo To: ath11k@lists.infradead.org Date: Fri, 09 Aug 2019 12:27:42 +0300 Message-ID: <156534286219.30736.2875472095603667558.stgit@x230> In-Reply-To: <156534276745.30736.11736417077894270794.stgit@x230> References: <156534276745.30736.11736417077894270794.stgit@x230> User-Agent: StGit/0.19 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190809_022747_004111_2E202B3F X-CRM114-Status: UNSURE ( 9.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP No need to do any casting for void pointers. No functional changes, compile tested only. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath11k/debug_htt_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath11k/debug_htt_stats.c b/drivers/net/wireless/ath/ath11k/debug_htt_stats.c index a01f3d5ec54e..8265b255b27f 100644 --- a/drivers/net/wireless/ath/ath11k/debug_htt_stats.c +++ b/drivers/net/wireless/ath/ath11k/debug_htt_stats.c @@ -4060,7 +4060,7 @@ void ath11k_dbg_htt_ext_stats_handler(struct ath11k_base *ab, len = FIELD_GET(HTT_T2H_EXT_STATS_INFO1_LENGTH, msg->info1); ret = ath11k_dp_htt_tlv_iter(ab, msg->data, len, ath11k_dbg_htt_ext_stats_parse, - (void *)stats_req); + stats_req); if (ret) ath11k_warn(ab, "Failed to parse tlv %d\n", ret);