From patchwork Sun Dec 10 15:27:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Hortmann X-Patchwork-Id: 176360 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp6570429vqy; Sun, 10 Dec 2023 07:27:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9Yytf4IIQe19uupztn3x40EZR5rOH0dAxAV6pF1fQSLJKYv+V89A+wTsy/W6y+3VVV+Hv X-Received: by 2002:a05:6808:17a7:b0:3b8:b365:1e34 with SMTP id bg39-20020a05680817a700b003b8b3651e34mr3862619oib.33.1702222068936; Sun, 10 Dec 2023 07:27:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702222068; cv=none; d=google.com; s=arc-20160816; b=lJ5gF43UL+aRlYJ8fbPqui1IQwcRgJoqq2x3t+uSPTVNAvfEquMbqDsTP704BoXCCR ZRHloT0ftA8XS7/+w1VS4wCFRBJxPw604EdaFUQ+e21gB1W07AYhW+SlYPDYc2Ea6j4L Gpfz+bXDULpRWu/Xr0AwIV8Blcjd8U05HJTEtVKkTN0UhTYNobPPvaBhj2hM/YFip9xs nw7EimAaiyH8H5QtudSvZerihrwzgUmlEtaD80IB1b3GeaipouU0/jxfZvtFk/m/tTV+ 4x8OE2YC9rx5SchIklRC8pLVnu+jMC5DYxzceJKDmUmj4vZIbl6s3ZKRDfcUqAhUBubw XRRQ== 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=geLw7oiaKYTuY2XiNNlgp2W+j2j+NV9E7iJ/5OuM2YA=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=vu4NJAf/HdU5tXWPtUBaNy9KJaO+CPifT9H8ltHvApa4tHNLsC4Hm+EVawqKYvj/U0 UoBtY5br91OuyqFIKdMiZ+MKzGG0rbVa0hOf0bbWIppAogMLiWVSjpAE5pIi6lf902Ko rErbbYPT1IZ33HHaC6IcspImupsrc020d2sqXr9sPnwy/wr8QCxV0XsUNudp3FtSOFmQ +RVuks7HvVk+BIPAXkpG6HHBRiCemMjNk6njG3P2PG6YLI3QZR5q/GHawYkb5YMIQY9j XVxwl6wOoFENA0k8Gtciq5ELVhogXFuUF4eTxzEHN8um3W+7GcpL0LwuIJBgde54Ry4I 0gwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kkJfJYzT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id eb3-20020a056a004c8300b006ce97669ff7si4783238pfb.364.2023.12.10.07.27.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 07:27:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kkJfJYzT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id BD9C8808D2A1; Sun, 10 Dec 2023 07:27:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233040AbjLJP1U (ORCPT + 99 others); Sun, 10 Dec 2023 10:27:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233013AbjLJP1A (ORCPT ); Sun, 10 Dec 2023 10:27:00 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA1FC123 for ; Sun, 10 Dec 2023 07:27:06 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40c192f488cso5992245e9.1 for ; Sun, 10 Dec 2023 07:27:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702222025; x=1702826825; 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=geLw7oiaKYTuY2XiNNlgp2W+j2j+NV9E7iJ/5OuM2YA=; b=kkJfJYzTp0Q2ZrYqeRvHVOb2kcOzfwKUAuoOCEMfLpVdHOaFfBBAcNxhNdOFN5jYgu v8RGVvbneAyQ27PzGbKnlWYJClHwSI84ekvzvYwwJURfVOYRgA5Jye5cDbWQOEAx4TLf SZhjJxW64VhH67AUAdnLwTijoOFaxrVH45oGR06D5r8/8qa0fBczvkE6atSd7c63JPcf KWBqpxqpULzqb2ARVcp0rN0wRTlLYr7iP6/E23Pek4rFDW3AkSxS6OP9ToA/Wf12c8oL YJDF0SD5rDAKb/hKBXX0Fb+voC/K/Kzwiq7Udrn8ouZooTJUtKp4/gsIqC+09BOGogYN e21g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702222025; x=1702826825; 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=geLw7oiaKYTuY2XiNNlgp2W+j2j+NV9E7iJ/5OuM2YA=; b=qd/go+ku5pn5WeDZdmnYZP1CaqC2GcDC7PvVByr5XUUUAV43f+MHPvmXGUWdHE961r G3F5gn0hrzGJQZUzjWop4tcU3G07e0cfEfck/4RQ/92bndDcx9gvi1MKJZpJ1rDYjePd l8FfwGorAFL6dnb7kKfTcsIiG5eqw591aWFYIWuaWlsoWQBScWhJz/yEUchtGltrn8vx mQoar++KnHqmeZrXfG+DzRZMhRtbU8EP5azCWSZkv/pf4lwrAcqugSreDyr3jn45zLQt LSGYhbLvXnmC67O6+wEjgRIZZLxVkqCTcbdKmvoqrU9UIUET+vvBIlDxiSBpj3bxUYzf Y8wg== X-Gm-Message-State: AOJu0YzyrrMfxVWkUI/XUii/r7cR4t/ITd4KrFlYVXS9brbYW/1vzonb Sjym2Rg+wgx5a9rtvxjzzLI= X-Received: by 2002:a05:600c:524e:b0:40b:2708:2a52 with SMTP id fc14-20020a05600c524e00b0040b27082a52mr4018653wmb.1.1702222025086; Sun, 10 Dec 2023 07:27:05 -0800 (PST) Received: from matrix-ESPRIMO-P710 (p54a07fa0.dip0.t-ipconnect.de. [84.160.127.160]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c35d400b0040b538047b4sm12250228wmq.3.2023.12.10.07.27.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Dec 2023 07:27:04 -0800 (PST) Date: Sun, 10 Dec 2023 16:27:03 +0100 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 10/10] staging: rtl8192e: Remove struct ht_info_ele SelfHTInfo Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 10 Dec 2023 07:27:44 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784909208402032994 X-GMAIL-MSGID: 1784909208402032994 Remove struct ht_info_ele SelfHTInfo as it is unused. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl819x_HT.h | 1 - drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index 416633b88446..0f27c820ffc5 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -99,7 +99,6 @@ struct rt_hi_throughput { u8 cur_short_gi_20mhz; enum ht_spec_ver ePeerHTSpecVer; struct ht_capab_ele SelfHTCap; - struct ht_info_ele SelfHTInfo; u8 PeerHTCapBuf[32]; u8 PeerHTInfoBuf[32]; u8 amsdu_support; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 439b43faa2bb..0474594a4b96 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -554,8 +554,6 @@ void HTInitializeHTInfo(struct rtllib_device *ieee) memset((void *)(&ht_info->SelfHTCap), 0, sizeof(ht_info->SelfHTCap)); - memset((void *)(&ht_info->SelfHTInfo), 0, - sizeof(ht_info->SelfHTInfo)); memset((void *)(&ht_info->PeerHTCapBuf), 0, sizeof(ht_info->PeerHTCapBuf)); memset((void *)(&ht_info->PeerHTInfoBuf), 0,