Message ID | d157456121388489784ce34e5f3daf91126f80d7.1700431464.git.philipp.g.hortmann@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp1858630vqn; Sun, 19 Nov 2023 14:16:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IGYUlHhjNeDTir7b34x6SSUzdbU0rVZr+qBURmezEi4G/c6AwegmjIp90ZU0wCaKoKlK9xZ X-Received: by 2002:a17:90b:4c10:b0:27d:4278:ba53 with SMTP id na16-20020a17090b4c1000b0027d4278ba53mr3845699pjb.47.1700432161571; Sun, 19 Nov 2023 14:16:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700432161; cv=none; d=google.com; s=arc-20160816; b=fe/+zyfTielV2933fBnDoPY6LTKyy89swU1Ob3IQy7bPz1s+QYwEYzYhyibAWEM37y 9EV9y1WTl0eT8g54AsRkOUMSBlgDaCynHaHlK4no5S1TSA+EcMcNsVhKOvLDHxiHBEPi ZpFSX6ea/u20qlBmqxKTt2mayPGs6a9rUWuJGsjdiJHGAUcSfDCNLE26/s5umvYWLjKM QoqEcsLXeBSYUtwQzx3+lYe7pzDPRYsIQKoVd2zI3XwwVCbY4h5Sf7LL8hWLpb8sk4ZK fT3QsH/rrLQOEOvKCLHHWZsb2h8Q0MGOPvo91IfewRXi465P6wFTNruJ/X9K1OCSKUE+ K68g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature; bh=Al0u3qH30iNBj9/dDiymgzw8t9TisYLxCGe0NNyn6Vo=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=Qn4M63QdC2aAxCAlLudl7OxcSprRidQw3ZjyJ7O+qngRNG1/hhsovv/X5FcOCw/XPn HBdjxRkARGaWLyRpz7N9XK5ke+AxB6c9F7eYqOutr2zU5bDblNMzxxH2JBth3/9kHzam lSJ+bubURyfJ5TbrnSVb7pFR7FDdG/GIWICVmeUgNfPZMyISueCtX0jH2mRYjDyt04Xa irdPCyYhN6s3AHevUhCQq9c8UGM15HAzfNDK7D+vviq15IUWuyW4DmgrinEA2SjqHdbL DQnN4q2XqH3+PDcbWNsiPBOEaj7SCNBZMf72XF9t8yW9qLir/emIaEBV25/IrI38BgLZ n+UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZNYlXT1t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h4-20020a17090acf0400b002841a9ca614si4275089pju.187.2023.11.19.14.16.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 14:16:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZNYlXT1t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id E620F805742B; Sun, 19 Nov 2023 14:15:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231879AbjKSWPl (ORCPT <rfc822;lhua1029@gmail.com> + 28 others); Sun, 19 Nov 2023 17:15:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231726AbjKSWPa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 19 Nov 2023 17:15:30 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F13FD6C for <linux-kernel@vger.kernel.org>; Sun, 19 Nov 2023 14:15:19 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9c6f0530929so95633566b.1 for <linux-kernel@vger.kernel.org>; Sun, 19 Nov 2023 14:15:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700432117; x=1701036917; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Al0u3qH30iNBj9/dDiymgzw8t9TisYLxCGe0NNyn6Vo=; b=ZNYlXT1trT9YRdAIBHi9V5Khg9Zyfi2hIa4weHxqrkqYnOfGDVh/ffugs0jx9tddT9 j/jrMTfp7ffLYddLhVNtXDCTEFy5u1q7tMHjfmHvSF0uB3W25Jjat8GnkhfZMc55Tl1z rwHkOZe2hmNiD6eHjr2YJdIjuGOP/bjcvtCq7ONF2RgWVnuCRWfc6/tA0G2xMq87vTlG DU8a4kbqU4qyj1G6PTwF2bqBuZ1UsFbbtmeKCxFpvth6Rt4maCyjG4XtM8uPUH/ikWke R8pXf7uVmMozBbKM94Zh36PTXpirMylJ7s58D/nVP5uI211Fpb9uKQKzFaAuhHu9B4Rr fgjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700432117; x=1701036917; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Al0u3qH30iNBj9/dDiymgzw8t9TisYLxCGe0NNyn6Vo=; b=Y5bYI3Tvuw13ckaQ4whVfkGVEk7oZaXLHME7OSv7xShNHx3HMisnLpUE4jKN/s1T4i Nzd3mNf9QCQagek0t1v36KIQTBk7e/LT4McRrm/c2E2iAwom0qp48NHlnOQc2qAbojp5 nsmBhR8MYBRc15BuAlZn4hbARDOHehx05llxLvRB83cNP4EQQcs+TAsJz2Z/1jyn6fnb NDeaqcy17GNiXBJVof2Wf0oYvH1F4L6BBe9QY9v4YmANlTHmV8Vw3Knm084TF5wQNwn5 uiAXIlBmXnDpwX+n5yUAMCy5dSe/1bo6OeD5xdKQQZYu3D+MyT1eaQCC5FJwshCbO+Lc nSjQ== X-Gm-Message-State: AOJu0YwXYZZ6XdE+ddtx1n1FNcobssYeIGyTFzSedVwTypELGlfFtmW4 oju6kh8iGpYm7ouoGQpUcH9+4KSK9q0= X-Received: by 2002:a17:906:1da:b0:9c9:603c:407e with SMTP id 26-20020a17090601da00b009c9603c407emr4142314ejj.0.1700432117481; Sun, 19 Nov 2023 14:15:17 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p54a07fa0.dip0.t-ipconnect.de. [84.160.127.160]) by smtp.gmail.com with ESMTPSA id lh10-20020a170906f8ca00b009fd2028e62csm926964ejb.71.2023.11.19.14.15.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 14:15:17 -0800 (PST) Date: Sun, 19 Nov 2023 23:15:15 +0100 From: Philipp Hortmann <philipp.g.hortmann@gmail.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 07/14] staging: rtl8192e: Remove unused function copy_mac_addr() Message-ID: <d157456121388489784ce34e5f3daf91126f80d7.1700431464.git.philipp.g.hortmann@gmail.com> References: <cover.1700431464.git.philipp.g.hortmann@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <cover.1700431464.git.philipp.g.hortmann@gmail.com> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 19 Nov 2023 14:15:58 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783032354453750346 X-GMAIL-MSGID: 1783032354453750346 |
Series |
staging: rtl8192e: IS_DOT11D_ENABLE() returns always false
|
|
Commit Message
Philipp Hortmann
Nov. 19, 2023, 10:15 p.m. UTC
Remove unused function copy_mac_addr().
Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
---
drivers/staging/rtl8192e/dot11d.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/staging/rtl8192e/dot11d.h b/drivers/staging/rtl8192e/dot11d.h index fd0a2df189bf..d3da4af4a16b 100644 --- a/drivers/staging/rtl8192e/dot11d.h +++ b/drivers/staging/rtl8192e/dot11d.h @@ -44,11 +44,6 @@ struct rt_dot11d_info { enum dot11d_state state; }; -static inline void copy_mac_addr(unsigned char *des, unsigned char *src) -{ - memcpy(des, src, 6); -} - #define GET_DOT11D_INFO(__ieee_dev) \ ((struct rt_dot11d_info *)((__ieee_dev)->dot11d_info))