Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3589390ybg; Mon, 28 Oct 2019 15:29:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkRj5odWez+V0rasDfIafJency8WPQwhhFUW9mkXcI4HN48c4G4EsSb8Tq0r6wRIu1D2y5 X-Received: by 2002:a50:b6cb:: with SMTP id f11mr22235145ede.299.1572301743797; Mon, 28 Oct 2019 15:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572301743; cv=none; d=google.com; s=arc-20160816; b=LuDM4K1EUrLf9uMXtI0AmjZB325/Cb/n4/4I0ZK/imN7pQEGQIgmAb9CqGqY8akPQW I7EEdsqv7u/fNG09soyzKPKwbUJtfMlM3fQl/ehg6CmyHeYqvUyBGC+1kvf3lh/Fzwsa 3pEnc5bBZn4FmwiJ0MwLZ/+1hXtBvEm221XMqvy4/TCJWzwL3HHPb7t+o8V8QqA6S3hV 3IE6z6Wwu8hU6Pe8NSy/LEvPsNUdalR29c6lKEQhL8BprBOdY2AdYjI/UPbMxD5WAS2m ha8ia8Yafj56quhh5eJrOkcJp/UvVSaHokM81w0azyL8EbnOlZGrORFbJ9a8iebwviv9 LX6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=4zLDgL2Tv+U6+2fqrJoYSvbV/fzHrzrxd+zfcyEk0Mg=; b=WbmY0r8MrraiXjI/XAnPTUy/bvxcfn9fGpxbQTv6+MeMnxDWjjl4DpsUL8a7cpMvNC l6EzmBCleT35aIBhxzyHGvFFqO98wfXnRPr2RZBrrRjMjzGEYzaqL2xygkbnYAcTthKF x7rIbHSLhno/4COr7te+Kan049v90POdPPoLBIWpgqgQm4cWRioPMPGYqhowuza8Ryp2 hcB0y/kLsI2Ytoni609odVSN4LnaXiEn7zMljzFRrFrQ1T5hfhE6/Dctr96RuSAtawst /LzTlPnI5pYMYOj5HA8Tk1DkOlscoVntir+koz7ruGxlareCNMiH7XFh/wNzomPCZm1G 8HwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fC0Arx2f; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d20si7166219ejd.191.2019.10.28.15.28.39; Mon, 28 Oct 2019 15:29:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fC0Arx2f; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388040AbfJ1Un1 (ORCPT + 99 others); Mon, 28 Oct 2019 16:43:27 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:38901 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726508AbfJ1Un1 (ORCPT ); Mon, 28 Oct 2019 16:43:27 -0400 Received: by mail-pg1-f193.google.com with SMTP id w3so7742642pgt.5; Mon, 28 Oct 2019 13:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=4zLDgL2Tv+U6+2fqrJoYSvbV/fzHrzrxd+zfcyEk0Mg=; b=fC0Arx2fP2pQajMaoYQZ8TldvHGcKz83ifiEWa3vIhZIIL4m0B2Nergp1GFdE4kms0 heC85V7W9rGI1CCl+vSLDtKIyiPi/xWuiS5R4FVZRLLarsv1vMVWybHGsisAgwvUF8Mb UBNDNIlIuFmtymhcFTDeDMpJVmc2Aq09jD0+5lg12gnYMvg3UhrWVs7rnHsZfXYq+wIm NbYFld4OYbQl98JQkjElKmtwgsXmjXfXnP8GuQD86u/adwTy8edic8m4ByC33mIMV12t qfPpwbE3lZyDyyDgNq2kpw+NrlM4xhM3jZKaBFhe4s6nwmz7wO1ydIcs+A5mlbhXn1ew mxGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=4zLDgL2Tv+U6+2fqrJoYSvbV/fzHrzrxd+zfcyEk0Mg=; b=Ucd3vfgeZRVTgC8RM5l4vAbBMCT7BmkgWxaTAO0IcOc/SQ4J10lskOqk3wRc4ZEy5I uWU6wQIGgKgu0OWLg6+jIVz/e0nuX2nM/vtt8sw1y8dqvsTlMyrqIcwO0lJQC2KVB5KI JzrmRDIMU+gmUmoduaWdUr9Nx+dz9iWfJxBYRW8t4WH7HXLuDpuCVJc6F+huMSbuBHDu IMIqPZ9vxL5n/mENlFMbAjrCkida49nad0dMDYPQuIj3ZMuI+NJQ6NmXuFvGZ9Z9+Wo1 vib2F92skImWSXakRY1pbX8XuQssR0108oUwyIRtxAQbTLa8z3Xuht6zGN3RseDTnB6Z Kjyg== X-Gm-Message-State: APjAAAWBKTtTJ/qfGl2K3fnXyaMhOsZJ3H04cxIhCqN3wcFFGgj8nbm5 1c0onNdFl/oLUWGDYoqrbPQ= X-Received: by 2002:a63:d10c:: with SMTP id k12mr14234478pgg.344.1572295406616; Mon, 28 Oct 2019 13:43:26 -0700 (PDT) Received: from saurav ([27.62.167.137]) by smtp.gmail.com with ESMTPSA id 13sm13705579pgq.72.2019.10.28.13.43.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2019 13:43:26 -0700 (PDT) Date: Tue, 29 Oct 2019 02:13:17 +0530 From: Saurav Girepunje To: ath9k-devel@qca.qualcomm.com, kvalo@codeaurora.org, davem@davemloft.net, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: saurav.girepunje@hotmail.com Subject: [PATCH] ath: ath9k: Remove unneeded variable Message-ID: <20191028204317.GA29468@saurav> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Remove "len" variable which is not used in ath9k_dump_legacy_btcoex. Signed-off-by: Saurav Girepunje --- drivers/net/wireless/ath/ath9k/gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/gpio.c b/drivers/net/wireless/ath/ath9k/gpio.c index b457e52dd365..f3d1bc02e633 100644 --- a/drivers/net/wireless/ath/ath9k/gpio.c +++ b/drivers/net/wireless/ath/ath9k/gpio.c @@ -498,14 +498,13 @@ static int ath9k_dump_legacy_btcoex(struct ath_softc *sc, u8 *buf, u32 size) { struct ath_btcoex *btcoex = &sc->btcoex; - u32 len = 0; ATH_DUMP_BTCOEX("Stomp Type", btcoex->bt_stomp_type); ATH_DUMP_BTCOEX("BTCoex Period (msec)", btcoex->btcoex_period); ATH_DUMP_BTCOEX("Duty Cycle", btcoex->duty_cycle); ATH_DUMP_BTCOEX("BT Wait time", btcoex->bt_wait_time); - return len; + return 0; } int ath9k_dump_btcoex(struct ath_softc *sc, u8 *buf, u32 size) -- 2.20.1