Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1049747pxb; Sun, 11 Apr 2021 06:03:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQstFjJVdsMwpO8+h5NnCh6WvwNx/p79bKR44wKWJzktia4zDPGGZ1xMOF/fNQEV2REstW X-Received: by 2002:a50:fb84:: with SMTP id e4mr25124886edq.92.1618146186933; Sun, 11 Apr 2021 06:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618146186; cv=none; d=google.com; s=arc-20160816; b=0MfhFg9VGLKvGvP7mFo3B3mPuTsGs8dyeefcbsbwCWG/5MDU9VRkT0+HubjswbxP+G +GVMgsC0bkSs+huDNo0sGb3DYue7qBUd+d+PqNPg/1+lFfyyyo9O+ZdCdPRQyWnaTKIl nngDfe8wRVMXoObr0Cxe1A1SllskY/FGP+WJAihpPItKy+WaLwMB7d+Md/0K9+ziQrEz mjf4VU+hKpkRT81iDO/5JyRsnloLhHfcWpPW58m00WFY9W+qGwvFx8/URDGNpijKpgrt yiVF+dSqwC+CP6sekKk+YENos+En2jkYuEvCCOsmnrvwQQPA7n6AXqjZ0IkZ+n91t/L/ PDaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ty8azWTSp8PJc78RW7jXgfpPMbgDKQilIYgTVUhzQAw=; b=lI4Yj3d5Lgjyw0qr04QQnYs3LuAa0i7Xib6crmqsuq1ur5/fWcJUL1Bttt8Mxi9kFQ DJw8/vG91+iTzdLyniEM6BJWPt93qxPTUb+pSziIkszHlN1Kw2s8+lavtaaLsYt+aKar rTOhmcJGCdgqUfgC2F1phsRhOgw9NV2Zm3scuYmv8riZq6SR+FYPmXZFownQj23gyQlr Tdp8WM7uVeFpECt9q/HS35JoexlaCkuc9HuepDQToLdFZhWAHaOtjxQ/IwHegIlSXleP RMFyHt+LUy6okcZCVSougivkVZWS6/saTP1l5aJcoaOtpIvZJNrIRjNyQnBK2ofQL0YT yAvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qb7fseIO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cb1si6012382edb.448.2021.04.11.06.02.43; Sun, 11 Apr 2021 06:03:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qb7fseIO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S235603AbhDKM6b (ORCPT + 99 others); Sun, 11 Apr 2021 08:58:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235095AbhDKM6a (ORCPT ); Sun, 11 Apr 2021 08:58:30 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36DA2C061574 for ; Sun, 11 Apr 2021 05:58:14 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id u21so15734086ejo.13 for ; Sun, 11 Apr 2021 05:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ty8azWTSp8PJc78RW7jXgfpPMbgDKQilIYgTVUhzQAw=; b=qb7fseIOBvKqNVNCRLnk1NmkL2/ixAI2BBnOGtVuEJ7/BE1Ar7/62ld4qTtjw40HPl 9Nvm6tWxFDb+4x1pWcqNujV1Jkl9YKC7IEXh6au97G8G5nqsEJg6I0q+f5LoiLegs9Fa gXiI7E6trpyGOafjXUOrGAHe1NiCnsU4+GCtDJSdtK5WDLXRf/HZtH4WHyDFwroDFjm8 T9mpCcT5u7Zf5THBl1QSHq3cUyB4BWyoHZVuACWsfIQ+2s3DBLUG1hQJINPPuyoLi2pe W0FWjYz5zhyST+0JO5e1qYQekn/8NLSw97PMvFN56rP31DLBxoqSEVjtU08RxA6e/Tio UFXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ty8azWTSp8PJc78RW7jXgfpPMbgDKQilIYgTVUhzQAw=; b=D2K+MW1G5MvSvHfHuE83Z6ycDLkUQmDDNrO4XtPLQaGmzt9mieAGH0pQS6vK+yNN8G mJNoIU7KYghSB+SQ/Q1jRMk/BNHj9r9pAiwb0UVkPg5Ph1how6KnDCDhEWVyUBsjfAPI Me0d9hawhpE+wkj1x8lK7isRwZyj9w/Yrm7zjJes1LD1KoNJ44E3tEEFzFHER9NjwcLR aRsT5LxUhSH4qliKTLqYDF1rTSLmPzg93jNnqqR0vkg/2mzMn1kX2H3rHw1TszsKpngQ quG9f3jzSuLkhSdelT8BoA4gMNDCUd7bcuW4jrCTC08RKCHTDtqaNZB7ujkuknNYengt sNAA== X-Gm-Message-State: AOAM530WGyuBhuEAvR5xslDJz0eXo0cUWgSuTr0OId91bakfZ/ZkTwtv 53V7nSXkHOpq7/iBif83hnQu9LIB47c= X-Received: by 2002:a17:906:2e59:: with SMTP id r25mr14417503eji.268.1618145892847; Sun, 11 Apr 2021 05:58:12 -0700 (PDT) Received: from agape ([5.171.72.218]) by smtp.gmail.com with ESMTPSA id f19sm4031311ejc.54.2021.04.11.05.58.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Apr 2021 05:58:12 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] staging: rtl8723bs: remove unused variable 'start' in hal/sdio_halinit.c Date: Sun, 11 Apr 2021 14:57:37 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix following W=1 compiler issue: drivers/staging/rtl8723bs/hal/sdio_halinit.c: In function '_ReadAdapterInfo8723BS': drivers/staging/rtl8723bs/hal/sdio_halinit.c:1156:16: warning: variable 'start' set but not used [-Wunused-but-set-variable] 1156 | unsigned long start; | ^~~~~ Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/sdio_halinit.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/sdio_halinit.c b/drivers/staging/rtl8723bs/hal/sdio_halinit.c index 552afbaff081..28bb4aaedc5b 100644 --- a/drivers/staging/rtl8723bs/hal/sdio_halinit.c +++ b/drivers/staging/rtl8723bs/hal/sdio_halinit.c @@ -1153,7 +1153,6 @@ static void _InitOtherVariable(struct adapter *Adapter) static s32 _ReadAdapterInfo8723BS(struct adapter *padapter) { u8 val8; - unsigned long start; /* before access eFuse, make sure card enable has been called */ if (!padapter->hw_init_completed) @@ -1164,9 +1163,6 @@ static s32 _ReadAdapterInfo8723BS(struct adapter *padapter) val8 |= BIT(6); rtw_write8(padapter, 0x4e, val8); - - start = jiffies; - _EfuseCellSel(padapter); _ReadRFType(padapter); _ReadPROMContent(padapter); -- 2.20.1