From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEB462FB6 for ; Sat, 14 Aug 2021 10:20:36 +0000 (UTC) Received: by mail-ej1-f53.google.com with SMTP id b15so22864757ejg.10 for ; Sat, 14 Aug 2021 03:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hJMFfB5qivF98UTpPlObntAxqLBo93oWecY40iYHQHQ=; b=Gzw5YbwVsQHnzjACSEIRMx6WiZ9JQ1tLFs6p+F14Bq9SGXdBe9UoHQNbW2UU4iQYPw CSvVefOwssotA9XVkyvJW8KhDChTCS+U3EGbYVcw2OynQvBtVNK/7BgCqjJKC7aUJszp z+K1P6ZBf0Ls0lTYZbrLxi8drt8PWEuNAVeEKCQhfHoM7NVAVRfhlVD4czi8qz42kxzX x4yFHtmtxkXZMKhmTHQc72IWghlgRBmgA/620fpypC2GTkfGOnhbc4mjbov7tAMtnzJe KLvu7I2CACqz3C5dsFy6xvgDffpBEbyaCrAXza7SbGP+3w3omm3DRDGEqPscDeYZWF/5 Rtfg== 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:mime-version:content-transfer-encoding; bh=hJMFfB5qivF98UTpPlObntAxqLBo93oWecY40iYHQHQ=; b=lqwH1CCvIDynczBN8SoK7CGY2E51PTrpK+x+3gCEFLt2d5bMM8l68Nt5Z+yASqjHqV EKIqHtDLW49NzY/p0b5VESIGkTuL72bISi0nzKYvj972w85etUBlYd5NsTpcOV6LRyO9 bl+qSypNkHbZY4wUj1h7nzfvW2kzM2GQtPal9KWcrFiQhS00bjwHNBMOZfqGB6/5mCS3 J6GvcR0v5GoAh5NpOyV/2ORxkeBMIPk38YAWrACnqHKQOcAL3HcgF6vvaCKD42TlVz7J 5KOHNZLAWeBMed7UPfPITsLc7KkCuvyxU0whPqYdXze/N6hNhuEy/AWP32k8ywRyLDCc AhQg== X-Gm-Message-State: AOAM533N9QghccEUFg0j9lee//DESs5vpOP/ts/agn+LZ6lFhy8j/a/9 dEqiPpAkrtfBGDHW46+qBsc= X-Google-Smtp-Source: ABdhPJxsPrFDT3Au2VT49jXUIfgu/4WrpFPyKWsoc1HpcaMwn2FVwhDcRIOXEoEM9cX2V5EX0Q0AFw== X-Received: by 2002:a17:906:27c2:: with SMTP id k2mr6836723ejc.83.1628936435225; Sat, 14 Aug 2021 03:20:35 -0700 (PDT) Received: from localhost.localdomain (host-79-22-109-211.retail.telecomitalia.it. [79.22.109.211]) by smtp.gmail.com with ESMTPSA id n26sm2057213eds.63.2021.08.14.03.20.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Aug 2021 03:20:34 -0700 (PDT) From: "Fabio M. De Francesco" To: gregkh@linuxfoundation.org, Michael Straube Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, martin@kaiser.cx, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Michael Straube Subject: Re: [PATCH] staging: r8188eu: remove ODM_GetRightChnlPlaceforIQK() Date: Sat, 14 Aug 2021 12:20:33 +0200 Message-ID: <3475843.yqa22ZEQPp@localhost.localdomain> In-Reply-To: <20210814073920.3551-1-straube.linux@gmail.com> References: <20210814073920.3551-1-straube.linux@gmail.com> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Saturday, August 14, 2021 9:39:20 AM CEST Michael Straube wrote: > Function ODM_GetRightChnlPlaceforIQK() returns always zero for > channels <= 14. The driver is for chips that do not support 5 GHz, > so remove the function and replace the usage of its return value > with zero. > > Signed-off-by: Michael Straube There appears to be some superfluous code left for the 5GHz band. Nice removal, so ... Acked-by: Fabio M. De Francesco Thanks, Fabio