From patchwork Sun Apr 16 07:19:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Hortmann X-Patchwork-Id: 83787 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1420124vqo; Sun, 16 Apr 2023 00:24:30 -0700 (PDT) X-Google-Smtp-Source: AKy350Z5m2o+pMnQIunG5ylT4AaK2BbEMQOpkkbHBaf4ifLlak4AOFmFlKIpuZujJkAZDWWZLNdt X-Received: by 2002:a17:902:e74f:b0:1a6:d4ea:68b7 with SMTP id p15-20020a170902e74f00b001a6d4ea68b7mr360314plf.24.1681629870401; Sun, 16 Apr 2023 00:24:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681629870; cv=none; d=google.com; s=arc-20160816; b=b8cQorVzOUQPN3yxEloNec53W0nftqRBf/y98KNST/2HDJUTXa3VwUhWbQzt3FSBNM WNlj6E/WyxnStz8UilCDpVb5Q8kntz9k9115L6GUp7+LV6Sog8bjKfRtlg2addpnplMD 5J0PiI23UOf96yNIWg7PSJqlolYyACDyF5ufsS9R/u/MpRRMd1S3HlMjISE0FvG1KLPs +Xdc+4kUMcU2wREmil94t2SJsudAagDZBFrioCV8bcPRIJVddbhJl4EZyPFpAy3NH4Mf BcmxyrYnwUpdcxTexBf0f3oPRvCxjwsnJP59LY/oAiQCat0H4D/9TOehrEXLtBeIdmZp wxUA== 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=xwqobIGOuNNlDjWDqP0aoWUSzuDynHZFKSCMK2X1W5s=; b=li6OG+1y1p3BuiT0lMZfBgfsS7NZACJAw9bCqhi3lHER8drA33ZBntkKidaCs/3uj2 BCTCMIo2EvMGptJoUlbP+UYvs+wmXxuRkeIoDfNFWwwuOjCA2yXjRJ9hcyGJLdqqWFzO 6aHXwM8+THEm6DNInfKrDOSpx5WJCXvczehW6ovtB4AnUIIDFTXNLnPg65SMsbA7XSK8 TBDCYk3gX3h3ItI/BHu1o4jBLP2Tv1/3Arc/+3+NzcLrNAA05KoP0oPzq9MDzGw7kG49 XyGwu2tCDWIRKBj6Jcor1XY7GA9cmOD1BXzrrQPNXsG/PCIZcR7ntlW61rwRCQoZ47lx PL8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="MS/9uKs7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5-20020a170902c20500b001a677821130si8612524pll.13.2023.04.16.00.24.18; Sun, 16 Apr 2023 00:24:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="MS/9uKs7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230213AbjDPHUI (ORCPT + 99 others); Sun, 16 Apr 2023 03:20:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230203AbjDPHUF (ORCPT ); Sun, 16 Apr 2023 03:20:05 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30EBF30D8 for ; Sun, 16 Apr 2023 00:19:56 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3f167d0cbb7so1330225e9.0 for ; Sun, 16 Apr 2023 00:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681629594; x=1684221594; 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=xwqobIGOuNNlDjWDqP0aoWUSzuDynHZFKSCMK2X1W5s=; b=MS/9uKs70i2Y0OM91fP96hPnooh51wKOYR5q7O5FvAeHvt655iTNAegCBM1Ui5KHEV +z94oAHtcUPe8k0yJ/pTt5aaHdfPIc4bjaVuVLUhAB/WiOK/VsLBZHdrH99eqL4XRDE5 GVCrcc7QXkWpXNB3Io3SBgSxWQK907xsxRYcxt0XdfQSQZv5ZdBKoRd15y3/wuMnc4/G znizZcWO8/kEzdAt4qgSy/YB43NEqoJOZc5cYS3XhO8/Iz/dpD3/M15iyKBpB7YyalFD O+caYr2XaXzdpHMOHWfVvw/Z58cqsAqcYtzMEJIt8XAp9F+LY5trPSVCpLA6OYLmLRxi inVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681629594; x=1684221594; 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=xwqobIGOuNNlDjWDqP0aoWUSzuDynHZFKSCMK2X1W5s=; b=Ead2baW1cKOpSLbJBuabwibMDm5cqx59v56yI6CCHXuY4kHASFH9llh16miezaAEB6 BGUdEnFlUeVDaA0i0WSGBR2u2gPKK8mxaHdCmprT3mKqIvtAQd30Z+3aLazRebe7B/ko /gtJ4FETFoyUSulaJCP+bcPKSwLj5PG4+ZD+AXxT+tdEItTNiDHlejowY8PgV1iaujg1 4NAtD5okN7dXMF8JxqhZa01U8lvZc60evg8JDQ5868XYD9E1wYUDRUUgSjUW8iZS3W7i oFiG34OZKsJr/1TncxIDQBMoa5OT1GwttGAGg31Kv8zrNSFqvMW1zlqUyKeopMr1yItg 8+Yw== X-Gm-Message-State: AAQBX9fyjrcOGstq26/MJ5Jnl318o1JRwzk37J+RSbzebTREjeZgkFmz e512lN83+2vYpZ57ueucrBXXihha9lw= X-Received: by 2002:adf:fc8b:0:b0:2e4:ccb1:dba5 with SMTP id g11-20020adffc8b000000b002e4ccb1dba5mr4415020wrr.4.1681629594654; Sun, 16 Apr 2023 00:19:54 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p57935146.dip0.t-ipconnect.de. [87.147.81.70]) by smtp.gmail.com with ESMTPSA id y18-20020adff6d2000000b002daf0b52598sm7427281wrp.18.2023.04.16.00.19.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Apr 2023 00:19:54 -0700 (PDT) Date: Sun, 16 Apr 2023 09:19:52 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 3/8] staging: rtl8192e: Remove unused macro RT_SET_PS_LEVEL Message-ID: <0d397210830f77ad3231c3b4a0465ae89aacb962.1681627603.git.philipp.g.hortmann@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763316722891396036?= X-GMAIL-MSGID: =?utf-8?q?1763316722891396036?= Remove unused macro RT_SET_PS_LEVEL to shorten code. Signed-off-by: Philipp Hortmann --- 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 1a0e7ae70ca6..6e665e866f1f 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -100,7 +100,6 @@ static inline void *netdev_priv_rsl(struct net_device *dev) ((psc->CurPsLevel & _PS_FLAG) ? true : false) #define RT_CLEAR_PS_LEVEL(psc, _PS_FLAG) \ (psc->CurPsLevel &= (~(_PS_FLAG))) -#define RT_SET_PS_LEVEL(psc, _PS_FLAG) (psc->CurPsLevel |= _PS_FLAG) /* defined for skb cb field */ /* At most 28 byte */