Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3828322rdb; Mon, 11 Dec 2023 00:37:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGriC1b9O/JRTFlq2dtW1/pc5/rfykQsn2+/hRy04qJAJ4UyDBuAhmYeykv8tXnBHFbjEj6 X-Received: by 2002:a17:90b:3605:b0:286:f1d3:b7a with SMTP id ml5-20020a17090b360500b00286f1d30b7amr3043505pjb.57.1702283855295; Mon, 11 Dec 2023 00:37:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702283855; cv=none; d=google.com; s=arc-20160816; b=zK5FzjlOg1KHpfrfTzkJb/z/zCQ8XftiNFk40tBGyb8OPuecvW+mi1VKGlc1onCNpp FUlHL7Bkhn3UhBwQPqLckSRi6YDNBa28l5WsfLyClx62ol/oUjnKWNVn20RB4xvtzXCu EinAWgOBFNb7Fraj7tPM+HbEPviqGQ4K8bHqhJOKYFv5niKTcLwcUhOLh5EXJnzhXFz8 0b++91KkADLjOGTFexNzwWkGGEe1etJl/n+vFOx7qoFZhlKRGOxS4zWskxMHWCVmFZxY soFdOFXe6HoMzvthxbhGsMMBIAJRiwBtKJymTuW9/cIwb3hA3H8ei6x0/4rrvFAuaZsE A/Xw== 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:cc:to:from:date:dkim-signature; bh=Kk+v7bJA+s+/z+dyrix6s2ZzCkywqqH7xeqGtoowJ4M=; fh=SjobQox/J6fl/Wq+Q6mkolyQJeKqWcwgBieKtqaqTuU=; b=MmAMPVvrbXcyrfFYgE0BjebN2PYJQGdphkvo2Hr1mOiZ8FkAndPL8AUbj2Etmx45X5 uMpkTTOOg/oE7GxiEwurl0X742zyWckoHqlO87dRBRoA/43pXuBfVFy0cq6vIPx8R4R+ AclG0d7Y3OKxvLz6oMI1r/uoBvkMqSKfG8Ft08aEXLUbvDDhSH2+lWFZGzbhj9+gBWOU UxTJUr6wQV6PX08vxy0C9FZ0CCaqtWh1vvzjqnlxX4vdKysY70azm0k/+7GV0TVhq7Xa bUsgfA3Rg5mxjMFjK6sfNEdq/lPJawmgEUIpP3MeNZqvlG2sKN9hoEmVvMMpFrPHZJaz OUcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V1lbUJGV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id pv14-20020a17090b3c8e00b00286a5319395si6083396pjb.123.2023.12.11.00.37.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 00:37:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V1lbUJGV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id EBDA38050F82; Mon, 11 Dec 2023 00:37:32 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231319AbjLKIhL (ORCPT + 99 others); Mon, 11 Dec 2023 03:37:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbjLKIhK (ORCPT ); Mon, 11 Dec 2023 03:37:10 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5619F8E for ; Mon, 11 Dec 2023 00:37:16 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-548ce39b101so5878967a12.2 for ; Mon, 11 Dec 2023 00:37:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702283834; x=1702888634; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Kk+v7bJA+s+/z+dyrix6s2ZzCkywqqH7xeqGtoowJ4M=; b=V1lbUJGVG/Y4K88ZC/JFiqrPjSsacoP3+6XYAxf37R53fxDWQKqBN9Q3L+VCbpOs4Q 5zgWMFhO16X6s4o53NS/dDv5Bvzg2dLpllg99l6FBwu77rEGufSHCxeMJ7qtlBjQW4af jykLZCUqVW8BeNIt0R03kNwF+4xwSjl4bddhPR2l+ysjOdWJo1GPOAZU2Yhl+wY+Tqac 3Hg5JJX5H0DxUBYmnyPYSI415otithPZ1ktvLeWSxai2j9Unh6vLENCVOD7XU6WSY12N 4UPG27qpSA2N8REYLmsC9viECOFGVoknzhKO1Pt6hl6Wk1aTtuWClH7TX0hYvuXjRJP4 Y/vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702283834; x=1702888634; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Kk+v7bJA+s+/z+dyrix6s2ZzCkywqqH7xeqGtoowJ4M=; b=T+Jd5uRn4KMLINowLl8OV1rAvW59orxGEloHwtNtraAFwVs9oVskVM4kXeTBgRGZ1j aK+Znm0B9qIiY1z0jlZtN7qzBwXyhynv7CqR9OuOAtIBjANnXi3HoljHBGtynypcOlXG D0SWcRm9ze/OGg+IKRz9vnYKUC4Tyox3L/0oEjCjVoP8hVwGNRjvtScwQzG+sPhi76L0 kRsiwu58u+ab6UNFn2u9YFfK/dNkdYZJ0CpUMo3gWcqg1xDAHVwrJROYDT4g+qaTy1fG RBcHTaagf3jfU9QmAzjeiuuc/QgeZz+usprTuDu6/hiiTNhycgqNTNIuzB4WqL4yQTFA gBUQ== X-Gm-Message-State: AOJu0YyIEL5JxYSWEoMOnbzTTTk+ukAVIskk5rFkt28KEin6+JTCquen N21yOogJUxkINs9vmR5Q+STN+Q== X-Received: by 2002:a17:907:94d4:b0:a1a:8399:e12d with SMTP id dn20-20020a17090794d400b00a1a8399e12dmr1373966ejc.64.1702283834471; Mon, 11 Dec 2023 00:37:14 -0800 (PST) Received: from localhost (hf89.n1.ips.mtn.co.ug. [41.210.143.137]) by smtp.gmail.com with ESMTPSA id tx17-20020a1709078e9100b00a1b75e0e061sm4496930ejc.130.2023.12.11.00.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 00:37:13 -0800 (PST) Date: Mon, 11 Dec 2023 11:37:07 +0300 From: Dan Carpenter To: Tree Davies Cc: gregkh@linuxfoundation.org, philipp.g.hortmann@gmail.com, anjan@momi.ca, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] Staging: rtl8192e: Remove variable bFirstSeg Message-ID: <2cdb678d-b784-411e-8913-eb7666e08ccc@suswa.mountain> References: <20231210193705.2131807-1-tdavies@darkphysics.net> <20231210193705.2131807-2-tdavies@darkphysics.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231210193705.2131807-2-tdavies@darkphysics.net> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 morse.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 (morse.vger.email [0.0.0.0]); Mon, 11 Dec 2023 00:37:33 -0800 (PST) On Sun, Dec 10, 2023 at 11:37:02AM -0800, Tree Davies wrote: > Remove variable bFirstSeg as it is defined but never used. > > Signed-off-by: Tree Davies > --- > drivers/staging/rtl8192e/rtllib.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h > index 0a8c44e497f5..c0a24826cd3b 100644 > --- a/drivers/staging/rtl8192e/rtllib.h > +++ b/drivers/staging/rtl8192e/rtllib.h > @@ -103,7 +103,6 @@ struct cb_desc { > /* Tx Desc Related flags (8-9) */ > u8 bLastIniPkt:1; > u8 bCmdOrInit:1; > - u8 bFirstSeg:1; > u8 bLastSeg:1; > u8 bEncrypt:1; > u8 tx_dis_rate_fallback:1; I don't think you can remove these. They're part of the protocol for talking to the firmware. regards, dan carpenter