Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp174176pxf; Thu, 25 Mar 2021 01:05:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVIyCW1zUbmSKyhDwvTZFSZWGbpR1Iawz30xliEvnd6UUZ8UzqoSHjzesag7YQwxt6hJfq X-Received: by 2002:a17:906:414e:: with SMTP id l14mr7646129ejk.406.1616659518727; Thu, 25 Mar 2021 01:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616659518; cv=none; d=google.com; s=arc-20160816; b=NvSefMIj3Cpi+iXEPegil/OxyJo8L2tK+4le3X+afVk+EGHZrSNB7S1Mq+lrERqxOq oG003HWVvOFkgCn/ftmS7NTbR+t+Z4U092/B82mKA7ymuxKItckOo9l9HSiP7PJT/4UV ycPJ1DI5+vspC6QtRNDWheaIYcc58SYc1zMJGf+EW5GdfgouJuK/6bMrcYZE7K02uKbn hg0NmZAphpCJjdYhEu5w0OL27MVgMIBxqXpuZ+TXQMU1byICsq/khLLAXvA0yXaVsZot M4GfQEdXsOVFVIMEb7HRC/QRXKvYb27wPTDRvwylwKyXBtnUQeUmmhc5xRqsOP2loZSG 9HJQ== 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 :message-id:date:subject:cc:to:from; bh=k/jodfWITnrva/C4QtVdPneyNX695/y/u8iflEo3558=; b=mJw+uMwRX92tqXNY+U495K8U4rD+S6Rr9KSXFOe511CoX/PWqhGd11ny51Ac170R5H xeOS4kJXDKjQK9al08cXDvy049K7UEhSZnkbXnmrETtnXlLUJFKYnwrrSJQNqdoyQHf8 1uVw3g7+0gFNfJ1+o7Dr395zRskY7vR3PjIItD5LlwX6PCRueNn+OCQrKuI/OBkROSfw uNlDlsJsHeSRNtu5QceVB4znmEiHhHCSh+0azf26vyBfL9V52IejnCdxkLy9J03XlOZ2 0GttNcZvMY6HLQb3FrpEeTqFvyeBL2BtLhRSc1UIPwmwKd4bpSnBdd/CHRGn3qv9Z+zE tR/g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j26si3696571ejs.484.2021.03.25.01.04.56; Thu, 25 Mar 2021 01:05:18 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229931AbhCYIBW (ORCPT + 99 others); Thu, 25 Mar 2021 04:01:22 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:35432 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbhCYIBB (ORCPT ); Thu, 25 Mar 2021 04:01:01 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id F0D3B980582; Thu, 25 Mar 2021 16:00:56 +0800 (CST) From: Wan Jiabing To: Larry Finger , Florian Schilhabel , Greg Kroah-Hartman , Wan Jiabing , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net Subject: [PATCH] [v3] drivers: staging: _adapter is declared twice Date: Thu, 25 Mar 2021 16:00:46 +0800 Message-Id: <20210325080050.861273-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZQ0hMTk5DSRoaSkwdVkpNSk1NTkJJTkxJSEJVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hOT1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MxA6Cww6KT8VQz4QIQpJORcx OggKCzVVSlVKTUpNTU5CSU5DSE9DVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKTE9JNwY+ X-HM-Tid: 0a786866974cd992kuwsf0d3b980582 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct _adapter has been declared at 23rd line. Remove the duplicate. Signed-off-by: Wan Jiabing --- Changelog: v3: - Delete trailing whitespace. v2: - Delete the blank line. --- drivers/staging/rtl8712/drv_types.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h index 0c4325073c63..a44d04effc8b 100644 --- a/drivers/staging/rtl8712/drv_types.h +++ b/drivers/staging/rtl8712/drv_types.h @@ -36,8 +36,6 @@ enum _NIC_VERSION { RTL8716_NIC }; -struct _adapter; - struct qos_priv { /* bit mask option: u-apsd, s-apsd, ts, block ack... */ unsigned int qos_option; -- 2.25.1