Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2380208imm; Sat, 28 Jul 2018 16:04:28 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeuCRT9vqAux37ow6yDpcAIR8HoJKCphkksgH3n1GT3TCvrXDV8M7KBeTT6onsLRcEg/Wex X-Received: by 2002:a62:5047:: with SMTP id e68-v6mr12269085pfb.157.1532819068496; Sat, 28 Jul 2018 16:04:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532819068; cv=none; d=google.com; s=arc-20160816; b=nxjIHSZzNbeaoLhGJgsLX9RvkxRKpibOUMAUzrcej6MkehHyZsyBKlgE16yA/MzBeD MXKCXHmtfD4rCiLWZyXniU/W3yp43C/BCgn7APcDlxMi1hIsHAVJL6LHzGrnvFUmzwLA TsRtWQVxv1OOmaWoGvmhAvtpfvOhxgAW1BnWOrz7WQ1pmeUAcNCV/P37hQ9gVjAARNMz Bnkk6vhmQsy/bkV/l1tpdLKJeWJFsrUehqf9S9q1YRa3wz9nAVN/hSBMdH9bZ/sO0LMG Ai7Ld896HnnSnfImK//d44Ci4Bc/88YHa54GsAxZ6U9CbDdpGltB6h8uBnqqAtUkx7gj HWvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=XsEOM3WYlBborInlGr0m9vtOOwA+QgE79gd6EbFytIg=; b=OgmtoE21PDGXm1NAPiP8FfjcAAj+ZIdY5q9n6wzhEV8FHvvPbiatJytVBzC5LMvbaH dLKXdbMR0BrWvsRktiSNGGv+OcQ3EVueKXybsYErYpFJwINHAxCc5F3RS5DYyezP5/K1 UcovrGL2WyvXuLY4/bhfo4MFcn8XchwcUf8VmgdL0SFajnaG/E8hgmKMnbayFAI3fNhv nEgfe+SsDAHew4iyn+4+Qn82XbKIzJpq01aiiJ5eZJmta1V22cNDaTVrP/m9UEhAGseH Czs/JmEhwivGii04ZYAIqsNCf8zfNMb+KZC0mJKFbk7BBPhPb0fZpEYyM3PhKHuKzZ7T AmnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PACld3af; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 s15-v6si6415377pgm.56.2018.07.28.16.04.14; Sat, 28 Jul 2018 16:04:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=PACld3af; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1731696AbeG2Ab2 (ORCPT + 99 others); Sat, 28 Jul 2018 20:31:28 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41869 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731476AbeG2Ab0 (ORCPT ); Sat, 28 Jul 2018 20:31:26 -0400 Received: by mail-wr1-f67.google.com with SMTP id j5-v6so8705368wrr.8 for ; Sat, 28 Jul 2018 16:03:17 -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; bh=XsEOM3WYlBborInlGr0m9vtOOwA+QgE79gd6EbFytIg=; b=PACld3afLU1BkQrpJ9s9hrDB6feyJjq+lSKWNkIe78120VnSgofCxWWkEeZbphn1bG a9aPFPHksi6ELOcuuofW/0+OCr4dLgeKulm76LW5F9fn6xeHPeVGgT/wPpB49uE2Jcpt DLUckG1Pn2ojtzqwyYljIR8rj6cDpAC8U1GpqZsNDBvrJ52Boyuomi5skaYZsn5uxOJs 6DDTAHFdYI9qVdDaIa0j9qmG8BYeX6zvwpROSv22XwskGvkZdgZORJXEdqrqN6cF7vCQ cZW4iw8MIqU53o3JXMtcPvDnUA2e7XZkZ8aSg+EMKgyQIftCg5SeivVcatxGdRehDqZV bdJw== 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=XsEOM3WYlBborInlGr0m9vtOOwA+QgE79gd6EbFytIg=; b=KivFcPqLQoDXLDXKi3EzWlEcFahzHNAqbOjLGQ3cybsFch2iaBiAuYPhDz3FGU4zZA bDmuPed4ZWTODrtEwCDg9h3GTPfxLI1XxGSZzKlwbyPIojIV+n5KOf3/f4borLCtYKbz Fl5sCAM+5VAlO6GuikqmbSJJVIFfOMKq4Bo03TonK99aVYYS2os5iXh7EmXOShOatcdt CSSX8qvYuIgOnkMr4LI+sUa+Lq1nX/ZzglzAL7mDqgdy13ZC7r+gNHcHYr7d5joJCI4R hm1ITkikzAqn9Lbi3Ci8NmvvzCfhbQom/AL1sA79M4lTWei3JWOzG8u49EemMCVMrTQF pBHA== X-Gm-Message-State: AOUpUlGWoU0twSsapY7HgGaUh1+jJ/HT1IgYaEUaN70IjQXE+ldGISBc K+Z0LuyqKWXZMYGflXJWJga2gv4T X-Received: by 2002:adf:bb08:: with SMTP id r8-v6mr10510208wrg.244.1532818996995; Sat, 28 Jul 2018 16:03:16 -0700 (PDT) Received: from localhost.localdomain (host81-158-116-187.range81-158.btcentralplus.com. [81.158.116.187]) by smtp.gmail.com with ESMTPSA id m207-v6sm11490569wma.31.2018.07.28.16.03.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Jul 2018 16:03:16 -0700 (PDT) From: John Whitmore To: linux-kernel@vger.kernel.org Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, John Whitmore Subject: [PATCH 08/12] staging:rtl8192u: Remove unused constants - Style Date: Sun, 29 Jul 2018 00:03:00 +0100 Message-Id: <20180728230300.19732-9-johnfwhitmore@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180728230300.19732-1-johnfwhitmore@gmail.com> References: <20180728230300.19732-1-johnfwhitmore@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove defined constants from code, since they are never actually used in code. This is a simple coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h index 17b676b0ed8b..810d81addcf6 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h @@ -2,13 +2,6 @@ #ifndef __INC_QOS_TYPE_H #define __INC_QOS_TYPE_H -#define MAX_WMMELE_LENGTH 64 - -#define AC_PARAM_SIZE 4 -#define WMM_PARAM_ELE_BODY_LEN 18 - -#define WMM_PARAM_ELEMENT_SIZE (8 + (4 * AC_PARAM_SIZE)) - // // ACI/AIFSN Field. // Ref: WMM spec 2.2.2: WME Parameter Element, p.12. -- 2.18.0