From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from viti.kaiser.cx (viti.kaiser.cx [85.214.81.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 06D2A2F5E for ; Sun, 25 Sep 2022 14:04:32 +0000 (UTC) Received: from dslb-188-096-144-033.188.096.pools.vodafone-ip.de ([188.96.144.33] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1ocSF3-0002Rl-Iu; Sun, 25 Sep 2022 16:04:21 +0200 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 0/2] staging: r8188eu: drop some stop/removed checks in the led layer Date: Sun, 25 Sep 2022 16:04:04 +0200 Message-Id: <20220925140406.112991-1-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Here's two small patches that remove unnecessary checks of bSurpriseRemoved and bDriverStopped in the led layer. Martin Kaiser (2): staging: r8188eu: don't check bSurpriseRemoved in SwLedOff staging: r8188eu: don't check for stop/removal in the blink worker drivers/staging/r8188eu/core/rtw_led.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) -- 2.30.2