From nobody Sun Feb 8 06:56:18 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BA4FEB64DA for ; Sat, 24 Jun 2023 06:04:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231477AbjFXGEB (ORCPT ); Sat, 24 Jun 2023 02:04:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231680AbjFXGDv (ORCPT ); Sat, 24 Jun 2023 02:03:51 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28426272D for ; Fri, 23 Jun 2023 23:03:45 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-51a52fff2f0so313483a12.1 for ; Fri, 23 Jun 2023 23:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687586623; x=1690178623; 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=aBSfn8glPT2kxNQHy+PfpOOqO6rN+IWZ6miV6QcZYkw=; b=NVRmC14/S1OEnqRzqTWlTQDcv+sbJhErpLvqB3BWs4Mx8Knib/+pRG2df40Gzi/ySA FUUWa3ijaGP33OSAlh0XF+ZADZUYgLEx7f3npCaxkn6MIAH0dSi+QEO74GRMgt36jJE4 GJp7xCpnJuFSHKf3cE05WpNVjJHPXbBHUoTU4aQeVmwaDJ/pKKczDtF4IOI6Nn9lC7t3 hhYPD1DPh3tGIgLG6BqjRmwHEJRUmqWpL3j0HaZkq9I8LdddDKNpz5unUvaGpjph3E6f Opu86HT7G+Iel/iS6uTmplkgVZjeBM9AcmZ2JIyE3HLBl9QmRXE9gUZY8umwhDN6R0Vc 1pXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687586623; x=1690178623; 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=aBSfn8glPT2kxNQHy+PfpOOqO6rN+IWZ6miV6QcZYkw=; b=mEGSGqU/jd/wEjRXuth+c0+jW52Mr0N8Zh3utv4zM0pt5cjs7Y/jGgFqkbd9FiyLif VYMzi8zDpfAuJeDaShf6KrC1QZPt8L+sKIP8Ir3gvtx8qfq+jS63c99skRBc4uDm3hZl f5P8F9cLuUDnKnDKC6W10OP/5Nsoj16GV8H2tl6Nc7psWPuP/t1wn6+eOWXRHSHq4Pyz HNjhQQcECRGJzKKykuFO+Kvpg26qWFOgr8UM0HTTL4m7VCAzom5YnZyMlReA9wPryyVw OPDa+/k17JIghRyGNVOjPtRlAZ7jv5EzJPgg7uggFhthqbes00muabUgZA0Y3h+PZ8Zs W2+w== X-Gm-Message-State: AC+VfDxLM21/zBulFO1bvSZ2C79dfEpZmwpUX1HU/cHqUrgVaNipQ6yt MOl4ZY34coyK2UoTAAoHRsI= X-Google-Smtp-Source: ACHHUZ5g2n9rJ9hdt9TSwklixbRmpTWI8h2/OX/znA4tlIeI4dLnfbSPJpP/mntq1lx1LS/4DAUkjQ== X-Received: by 2002:a17:906:73dd:b0:989:1ed3:d00b with SMTP id n29-20020a17090673dd00b009891ed3d00bmr9942539ejl.4.1687586623029; Fri, 23 Jun 2023 23:03:43 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p57ba2e0b.dip0.t-ipconnect.de. [87.186.46.11]) by smtp.gmail.com with ESMTPSA id h9-20020a50ed89000000b0051d888df7f8sm31279edr.56.2023.06.23.23.03.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 23:03:40 -0700 (PDT) Date: Sat, 24 Jun 2023 08:03:38 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 02/11] staging: rtl8192e: Remove equation of local variable InactTime of AdmitTS Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove equation of local variable InactTime of AdmitTS as AdmitTS is only once called with InactTime as 0. The equation is always false and therefore dead code. Signed-off-by: Philipp Hortmann --- drivers/staging/rtl8192e/rtl819x_TSProc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rt= l8192e/rtl819x_TSProc.c index 00f6a66c2265..ed124f85c2b1 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -188,10 +188,6 @@ static void AdmitTS(struct rtllib_device *ieee, struct ts_common_info *pTsCommonInfo, u32 InactTime) { del_timer_sync(&pTsCommonInfo->InactTimer); - - if (InactTime !=3D 0) - mod_timer(&pTsCommonInfo->InactTimer, jiffies + - msecs_to_jiffies(InactTime)); } =20 static struct ts_common_info *SearchAdmitTRStream(struct rtllib_device *ie= ee, --=20 2.41.0