From patchwork Tue Nov 16 22:12:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Seiderer X-Patchwork-Id: 12623241 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68571C433EF for ; Tue, 16 Nov 2021 22:12:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3FA1163222 for ; Tue, 16 Nov 2021 22:12:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231953AbhKPWPv (ORCPT ); Tue, 16 Nov 2021 17:15:51 -0500 Received: from mout.gmx.net ([212.227.15.18]:34037 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230484AbhKPWPv (ORCPT ); Tue, 16 Nov 2021 17:15:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1637100766; bh=BccBlK1Ruuzqsg+QAu3HJjwlyo+NyXNPJ95yePLNa4Y=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=BAus9mz4Z11wS0n5FERhJMqvlp3EQcJw/nldMzOiJZlHDOEM6jt69FXg4NFpDQmyL 64eezF6p4HsY8T7F8CqmvVEqWAL2oTTZrDwqVxUQQDUhQLZW1hypiXUCImILfPZumD U84xRlWAePv9WIMFKbXygyI0tza20FXSWNA62U1M= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.fritz.box ([62.216.209.243]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MGQjH-1msqvI3gdx-00GsE8; Tue, 16 Nov 2021 23:12:46 +0100 From: Peter Seiderer To: linux-wireless@vger.kernel.org Cc: Johannes Berg , "David S . Miller" , Jakub Kicinski , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v1] mac80211: minstrel_ht: remove unused SAMPLE_SWITCH_THR define Date: Tue, 16 Nov 2021 23:12:44 +0100 Message-Id: <20211116221244.30844-1-ps.report@gmx.net> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:dpQUTq3IL3tnxxKPwfQypVkgjv7WAgl2Q41kibAYmwcWlJiatee eRZ/Dag1uyG8ORAwK6GTYsIzjZbFMyY0O21xrQunHO5My2orvChN8e+FBIBOLgyuHHIzR27 9iTXNrqnnQ5dHRqw4Zti0ReqtRi9l5lSa/B9oIc/NWzxPXNniqV2jMcj7NHwpmxKNaNxUTQ seN7t0U22fz7QeKWHtZBw== X-UI-Out-Filterresults: notjunk:1;V03:K0:qzCgml5Qd1Y=:xIYRCfAGKdS4O/D4JXvMNQ VLPh46VXzPhQ6c4K29HpuJRzE5YZRCR3FiIDzwoTDzpu4rwiYEOBh4VCX+41qL2X7bJL1sF3U Yh3LE3Pji0kFiM2cPNJGWaIpGZNzOx3+qoZa6uDXPACFdij5sCbmfX/X/fueyvBSF1RwffslM tfe9RmhktvVUNjC86tljJ5ZBq6nP29MJjMf3UrqOZumHDx2dRTY27+7KvyvMEndFQ7+/VrXO2 Z8tYm+N0Ersu2RXu82mKSgPZ8DKjA2yLsnOizjxpx+BPlwBXGBIKznltarHv1C9xLZko9cLqV YBZLp/dPCgsI4/WYSJ4ZbxB1uHJEDVoblzc0KPRlIMVdTBeOW2mAKeqRpGr24aOVy20n1kvNJ /mJACSukC1UFssCRdK7ifvDqK2QkO5pjSZKajm+8CKPDY9Mjd3yQSg2h5pW83lTjtaFGK6znt 7yfRVL2eaLLdWEnj7HLwvXygcjbo4wtZMh6hOCq8LH9mvrc2UbkxuJwRwpGiMKQnc4BGfAua/ 1AMl9Z8UCco8G59veqx1tn0DezOYeegOG8DxsbUsMGsI3ZDx9qcX0nZPwxYVxnaKdNcmi5GFM VEBOV2tOuECRPiJXF8cm/9/FvU4oltceW/M1P6+t1DpzdI6yYIuzesQwnmWZ7S9zNhmCHUUpV 2lB4cdWGTeWd/AQnSuq3kM66OlJJz/R+xkkJrbOsJvBVK/152sVr1MiVtPEsvJlfjBuo+OieX ojXrvy9iTxu6ew+lD2vcu0JgFPb0bw8KCyRizBq1FByUEGOia2+QdkXMVJTRmimCeaLQOj/Ll U6eOq16j4Kuc4HESnsjbWSQz3C513sgCgJtMUprnJXVdboXJSWl+JWwhaxJ1H7wRTwX9l9dfb Vuqy9jWzv1hULvnGolrzhD/gHn5livf3IZOGhTQCt2wc+YkCWZ1aSSmlYefldrTvNomnjxmEW 3p9ptLVk0bMFAoTwbAjpCSEi4LKbjsgqvVugPZjCculdT8f/6sJuRXvCrh0OR/X1olqJEX8VY cGmhoVUwIJBoI9SVYVladYZcjMCaahC9+sZWY/kjdCe8ZRZbLNBupPuu8x3uPm3Oobu124L+J FMz1WNrn/jWMqI= Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Remove unused SAMPLE_SWITCH_THR define. Signed-off-by: Peter Seiderer --- net/mac80211/rc80211_minstrel_ht.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c index 72b44d4c42d0..9c3b7fc377c1 100644 --- a/net/mac80211/rc80211_minstrel_ht.c +++ b/net/mac80211/rc80211_minstrel_ht.c @@ -18,8 +18,6 @@ #define AVG_AMPDU_SIZE 16 #define AVG_PKT_SIZE 1200 -#define SAMPLE_SWITCH_THR 100 - /* Number of bits for an average sized packet */ #define MCS_NBITS ((AVG_PKT_SIZE * AVG_AMPDU_SIZE) << 3)