Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1224833pxf; Fri, 9 Apr 2021 03:16:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzNETs0JghyGJPjhWG7xJvCwYXHfZNV3+6QAOF2Bp1HSWsz7BOpwq1O5CrKS/ac/q0zpGt X-Received: by 2002:a17:902:106:b029:e8:de25:4a1d with SMTP id 6-20020a1709020106b02900e8de254a1dmr12350620plb.7.1617963365750; Fri, 09 Apr 2021 03:16:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617963365; cv=none; d=google.com; s=arc-20160816; b=LThiN3m0GIbykNB58T8zcvf6NdI4am0XjaOTu0baUgiHGYSWvwjUY4S2UueJ+yY3Bl cbu4GJzfkelgtyAvbnsTe5t5Go8qwySUZnwI3p0NF9vn8at39tTBqCu5z8i8kQs8/5qe GGqYcNnJ04cVl5pB0KUmhpOt3PXcrKOuWawIF//qhNorLFovMD3X0eJwI5IpZD9gaMkO daYP1wcJOldgYK3Yz8g2JG6dKBMU/v/TLAt9aidaITUtLVvvOuw0aJxhYu+Mx0ZgqFgk mWp4GkOtn+2efL/RctXoihAf+PE1fOHC72QlF7qQ8A1BIKbwxJYZc8lYjUIiaq3pLAAf nCbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JytH94vJbFCj7GF8XTLRPZJht9eld57OrRaG5ECiMQQ=; b=Sy4UWYyLyphJUQGQWi4CQ+V8dt1G/M9Rbos3x1410Jj3LuUoLExGUNSa/vH+ucqRc8 QV4j7kZHvm6u8DAlBWKLgfn+MeOHf7R/vHL8/5ZeIkDM+e9iFUGx1Gna0jYQb64FqRCk x00HaOFVodujPXhw7Tqmp0D7HNE1GSbdvs/KD+EnFWfujCoEO9pQFXMZG9sXG4WG4psm zUgbXz0VEhoQ7zz0pVAc33JYFZ1lw4UZ+WlVPnYMfSEdHk7S1k+r0N4etea0BLYawRS7 pn6NnZ18rctvTRwT7Ardy7WHwriGGZrK9fBGBDK7T5YofmOsBgZvLqhZB3veuLLlmEMU RZCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HA0frDEE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id y15si706285pll.160.2021.04.09.03.15.50; Fri, 09 Apr 2021 03:16:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HA0frDEE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234559AbhDIKOz (ORCPT + 99 others); Fri, 9 Apr 2021 06:14:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234224AbhDIKFP (ORCPT ); Fri, 9 Apr 2021 06:05:15 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 285C6C0613B4 for ; Fri, 9 Apr 2021 03:02:07 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id r9so7741491ejj.3 for ; Fri, 09 Apr 2021 03:02:07 -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=JytH94vJbFCj7GF8XTLRPZJht9eld57OrRaG5ECiMQQ=; b=HA0frDEEl8tu4uCWwfdOa71uh2WD0uWeXL8s6LZ64BeJGsjy2ZHFTPJ3Dn/QJIYy5f bv5l/22hlVG5ydcJExLLTmZ+0fQXphesxhYA0zxQ41Jt8/vDvCNxJm1z0DyELXmGpRST O2R889XsBO0eSR4zteK1YkkmMKO+dotKAyOlSxdD9/NQ8/atRVMtVShk/nbiVWfZvlSO WVPvEjDw/a4uaKUi4IRANEWe1/Cm68kUq1TNiQTR9MzrbCLyluq4NZc9tol1hTn0zC9X kw5Qq3CBpSi0nQkPMWbplu4NWK7ELys74hSrcspbV6Vhi+tCMjbG/mNQdN1zEMOuNlGd lwLQ== 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=JytH94vJbFCj7GF8XTLRPZJht9eld57OrRaG5ECiMQQ=; b=EBimwj8tbzNa1Fv6mc4bIOAqMYvL59egkycpt2VWd8SoFI2WaHgaZI439uwJIUPXRn Q39wYoiFPTBQMyUh12pEhhZfQqBTNwN/1Ms2/eFvkvMFQOAI59FfXwRiA06UNJx4pezm YDkm966eGvgeZ6mRdYbWjz5GoUGpJV5mU53iDDI8wJmRCopbNExbLLwzD15qojC1f+nd UT21uzA2FqDCFTshblBkgDD1c6CDkoIA4rL17beoWOYZlc11C3kdK9Mjl0a/M77IItb3 fltHp9A0g4h8wsCR5kEnNP41QVgVPE4jN3/Xr8KMJV4YDQlZlXSnhC1OzVdzsHQNX1WZ Xt6Q== X-Gm-Message-State: AOAM531CkUrBNRE4otQ1FmeZqvXtT0KkSBYZDA9icAIFiL4p0TuQRcR2 seyx+Zrky0brthjIAGUZG7euHxS+9Xw= X-Received: by 2002:a17:907:3a98:: with SMTP id fh24mr5486136ejc.371.1617962525933; Fri, 09 Apr 2021 03:02:05 -0700 (PDT) Received: from agape ([5.171.72.173]) by smtp.gmail.com with ESMTPSA id r13sm1158992edy.3.2021.04.09.03.02.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Apr 2021 03:02:05 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH 11/11] staging: rtl8723bs: remove decl of unused static const variable in os_dep/ioctl_linux.c Date: Fri, 9 Apr 2021 12:01:39 +0200 Message-Id: <05cc97a114269ee55ac9a91c61493c885fcc0193.1617962215.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix following kernel test robot warning: At top level: drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:36:27: warning: 'iw_operation_mode' defined but not used [-Wunused-const-variable=] 36 | static const char * const iw_operation_mode[] = { | ^~~~~~~~~~~~~~~~~ Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c index 6f52b8fb0d6e..e5f0cdc9711e 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c @@ -33,10 +33,6 @@ static u32 rtw_rates[] = {1000000, 2000000, 5500000, 11000000, 6000000, 9000000, 12000000, 18000000, 24000000, 36000000, 48000000, 54000000}; -static const char * const iw_operation_mode[] = { - "Auto", "Ad-Hoc", "Managed", "Master", "Repeater", "Secondary", "Monitor" -}; - void indicate_wx_scan_complete_event(struct adapter *padapter) { union iwreq_data wrqu; -- 2.20.1