Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2866485rdb; Tue, 12 Sep 2023 14:56:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEpYwRXtHOtKLHOR0UztUqvefKtEmwcvLXREIQ2kvHupueI68p26H4rKfhpPuL27RIEfnAQ X-Received: by 2002:a05:6808:1d4:b0:3a9:bc8d:42ed with SMTP id x20-20020a05680801d400b003a9bc8d42edmr884376oic.43.1694555810303; Tue, 12 Sep 2023 14:56:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694555810; cv=none; d=google.com; s=arc-20160816; b=hI2L1XxsDvtAPcxsTDDfyPKTiEbYACZx5sBTSbHQJhY4JGJQ6LE5I1fu1Iy1wgEDqY dxK8PEvJmLgRc61wETsXvFhEyxX/PCGaaO+jj3d0Iw3+JYKvB1GdVvc+SxqYXq8iVpk6 HP9Q1gaMqRfMT1mh/UXvRvqp2MWCMw6LhjI98DjwrmO9Hn9YKFvAZwSHc3hPfdkim5Mj gJnH5sJ19bfeByS//iAhJUPNFrOHMqecWpviwpbpik0H4df2mR1TtEfg2maLlzVtNx8q LyhsfKefUbjXUyUlXu4Ogvog9IrBxwbkxSZFQfSWSTJJ7Kz0zj0bE0C829b19PKlzlFN qXHg== 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=5uIdBMaIxfi6eKcNWe6YvWQH/LhS5SQKFcSkjVp8eYk=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=WzyNmEDqxmCevEOTAPrug8rGd5E85dXVTxyostuJJrhEc/gt37UHNeOUJlzDEvWojU dwfIq4AqosxA+AetBtCfLCYRVr+529U7SYNfiu2zAdhdcXv9yLuR2OBHHNTkSn7286px wkqFvqxUgsS70azQPVrfAKK9/O9nqXAPOkQzJ6ZwvGZ+fySm5nBx6N7YI8XlPYoAwIIh F+JgECISk2CYVyjKDQQvrucY01gWsFP+Y/Nbj+R2s1ChsudRU6QbAEN+BNs+rhOZJ4LI mW8LKPFdJqzTiBbktvjDZIUDE4in1w9e2EHjZRMPXcCUzzYldcw3i169R88pRSfAFUy0 mrxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Ot0bbmJQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id r20-20020a6560d4000000b00573f867019fsi8534981pgv.443.2023.09.12.14.56.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 14:56:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Ot0bbmJQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 0676C83014B1; Tue, 12 Sep 2023 12:29:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237629AbjILT25 (ORCPT + 99 others); Tue, 12 Sep 2023 15:28:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237662AbjILT2x (ORCPT ); Tue, 12 Sep 2023 15:28:53 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F0961706 for ; Tue, 12 Sep 2023 12:28:49 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-401e6ce2d9fso17515055e9.1 for ; Tue, 12 Sep 2023 12:28:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694546927; x=1695151727; 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=5uIdBMaIxfi6eKcNWe6YvWQH/LhS5SQKFcSkjVp8eYk=; b=Ot0bbmJQrFw8DUXVvysu6JP/ZmnyQ5nX5otLtQrpXH44WzefRGKd59OsMQl4AM47Bb RWK0/SKKdCfHt+iG2wD9LzxSHsV34my1PoZ7du7pg+kLudlwNlnK1q6Xi0CoAvSTgwWy RndWoUFSEtHCcXNMd8Sk9hDZh2/tFt2htVpuD2EqbgUVxYqivnd60Fcskty26s7jX0Z2 S61ZevuF4PF0a+r+UD7FX3Lkw9Z0djS9zMHmdrz97WpHxQCg9XBoT6VSE/fGunavm5/X rfz+P9tegOMTpBdSMx1RcheA5bdrHQBR6er+28+QIj9VA1PYO5hde3eoUDXZlcO0gO8b P2Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694546927; x=1695151727; 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=5uIdBMaIxfi6eKcNWe6YvWQH/LhS5SQKFcSkjVp8eYk=; b=qN+4qCH6g9h1r9cf1OljdKK/dG61XI3WWGgIP8MTXDOSglg1WQDCdxddOYaMSgFvyj WGoIXDFUOaqFnqWUSbG7ltBTmJB7ftU6eYFS3uc3VUj0twfxr2UrewAo1oJVqRUZ5GDG RJRbmH94kl9+dsgCBeWqOkUos+Ko7cQrPd3UAgeN2TKQv7xs09jHl4HyI7KD1AZiG9b1 kzvOfibnAYWLWFy9zdb34QCietbP0iSi2G1XesnZawas3TlRa0TM/o0WyYHtXzzEw7OC mZ5ppBfQO9kHo1+I1wTcab0AKKTa1MWP3QX0N2H49EbEMihqquCigApNqBYoT7Ctvi8Z +SXA== X-Gm-Message-State: AOJu0YxM5aqx7VO0CUOUBx0PaCzkTMsRsqGo7SsRaIHZET2ow0tvd2/7 KMY3ieaJ3MjuaB7CewhiuOI= X-Received: by 2002:a05:600c:34ce:b0:401:bb6e:453a with SMTP id d14-20020a05600c34ce00b00401bb6e453amr352307wmq.0.1694546927516; Tue, 12 Sep 2023 12:28:47 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p579356c7.dip0.t-ipconnect.de. [87.147.86.199]) by smtp.gmail.com with ESMTPSA id c25-20020a05600c0ad900b003fee567235bsm16953674wmr.1.2023.09.12.12.28.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 12:28:47 -0700 (PDT) Date: Tue, 12 Sep 2023 21:28:45 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 7/8] staging: rtl8192e: Replace rtl92e_enable_irq with rtl92e_irq_enable Message-ID: <6e8167402d279299e3ccf3468021abb0699d0e8e.1694546300.git.philipp.g.hortmann@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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]); Tue, 12 Sep 2023 12:29:18 -0700 (PDT) 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Replace rtl92e_enable_irq with rtl92e_irq_enable to increase readability. priv->irq_enabled = 1 was set in both functions. Signed-off-by: Philipp Hortmann --- v1->v2: Unchanged --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h | 1 - drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 9 --------- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c index e0500946dea5..70e1eff9c600 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -1870,7 +1870,7 @@ rtl92e_init_variables(struct net_device *dev) priv->bfirst_after_down = false; } -void rtl92e_enable_irq(struct net_device *dev) +void rtl92e_irq_enable(struct net_device *dev) { struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev); diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h index 3c06e1da4408..14a091ae1b7d 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h @@ -16,7 +16,6 @@ bool rtl92e_is_rx_stuck(struct net_device *dev); void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta); void rtl92e_enable_rx(struct net_device *dev); void rtl92e_enable_tx(struct net_device *dev); -void rtl92e_enable_irq(struct net_device *dev); void rtl92e_init_variables(struct net_device *dev); void rtl92e_start_beacon(struct net_device *dev); void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val); diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index 055cd513d76a..63bf8be3fda5 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -227,15 +227,6 @@ static void _rtl92e_tx_timeout(struct net_device *dev, unsigned int txqueue) netdev_info(dev, "TXTIMEOUT"); } -void rtl92e_irq_enable(struct net_device *dev) -{ - struct r8192_priv *priv = rtllib_priv(dev); - - priv->irq_enabled = 1; - - rtl92e_enable_irq(dev); -} - static void _rtl92e_set_chan(struct net_device *dev, short ch) { struct r8192_priv *priv = rtllib_priv(dev); -- 2.42.0