From patchwork Fri Jul 31 11:50:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 11694685 X-Patchwork-Delegate: nbd@nbd.name Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 959D11392 for ; Fri, 31 Jul 2020 11:50:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7AE3622B40 for ; Fri, 31 Jul 2020 11:50:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596196225; bh=Vz53n9jW7TVbpZZJJwpN10G9OhbubZC0zA7zOcby55I=; h=From:To:Cc:Subject:Date:List-ID:From; b=sEARaaF/O8uFmUYXEHKGfxcsICGfqyq5d1PpqfV7MA060YMo8vAWIKeYpkNQXwhWx Mi+ntdHd1jfLdIuWX6IijOnRvA9zJkEzLAB47mLgm2UIjKFozMaVC55lOHzmhYDCUr 6DUc9m5MQmiZ7SMX6F0Ig8LSKfxZK5JVqEvwLE8E= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732770AbgGaLuY (ORCPT ); Fri, 31 Jul 2020 07:50:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:50934 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732638AbgGaLuY (ORCPT ); Fri, 31 Jul 2020 07:50:24 -0400 Received: from lore-desk.redhat.com (unknown [151.48.137.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 79A432074B; Fri, 31 Jul 2020 11:50:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596196224; bh=Vz53n9jW7TVbpZZJJwpN10G9OhbubZC0zA7zOcby55I=; h=From:To:Cc:Subject:Date:From; b=ZqTSJ2HUTTBXkU7pWWumGnXDdDWmLC+yb0AfxcLPjZJonRHknCwQ8dAAUpUpsZNrH MP4jCE2XC3sFq9dJbTj+I7fj2Nd74vkYxA1iWGcS6f6c8647CWQPhRvIIPdzpLDEpw zA9GElCF5quN26UGe7hsS3yHTdh6ejhrQYb6Lw/Y= From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org Subject: [PATCH] mt76: mt76s: get rid of unused variable Date: Fri, 31 Jul 2020 13:50:14 +0200 Message-Id: <587e2af26bcc2f884135af62305f523f8652a874.1596195707.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Remove unused state variable in mt76_sdio structure Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h index d44a35463197..a06f8f5abeb2 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76.h +++ b/drivers/net/wireless/mediatek/mt76/mt76.h @@ -459,8 +459,6 @@ struct mt76_sdio { struct work_struct stat_work; - unsigned long state; - struct sdio_func *func; struct {