Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp127229pxf; Wed, 24 Mar 2021 23:30:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2WB1jMnyrBXNwUstxpX418ulJ6BLSysOJYgW9k6mOfS4b7YcySVff9U5TI/tSQ/9meYlX X-Received: by 2002:aa7:c94b:: with SMTP id h11mr7276187edt.160.1616653840179; Wed, 24 Mar 2021 23:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616653840; cv=none; d=google.com; s=arc-20160816; b=r2E0t4PyI315aKn+UjfFtbVNi/+EYbvF8pWLNsf32hCKOe/D+DGKfwglObPQ0cbfzd VKoRTE0dXlvYEkktOya6yoEQuQQgNorH4RxF85y5bdCYrw8seF7klbE/ziLvASCufIvA 5G1xE7gbU9kh+Ur4JJxAHWWVcPKSeZ95ojKpf/TwGdj1W9eITHcKpkitd/LaQSlI07ZG OxtqaCOLhxoCp73HygNoSrtO6m2P4CRCbjDMLiwE4QSmPJRcBPDYqNoK4kn7Nn00eg5i SvhIye95mU+Dk8QmkFyiX9IAC0EeTBN+WGnsiLiFYQGlIzeXl6Z0P+CX9hcrVS5LhX92 Cvrw== 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=6XFvuWHWLbNQZIZ7WcDPIOEJ+FYkUvt3XPYaUY7ny9M=; b=j52Jso8DQ8QwKECQXXgbJe2izxV2C8ONjC4dts64XwtxHefp3HDykFab78X9luMtkS g2wcq6fZrofMld5fQm3NA8J1/r8JDGKqszcKY3Q3QEAeu0x+a0XthtepkOdXzB1JUeYz VtolHrFkTgM06U+xwdRt82g/TMcvXclahobi7nR+KXEy/06IGhh7ZDx3sq/s0ehHy/Ax GtMgi/kbkVfSG/utjrCKlm5B6WEvny9skn13ofz3Fbc43FDILnP4XQBnfP6OxbRZM8a8 oa8JF9vHVl1rcSwwoJ3z9OuTNkxaF+LPqS/R+oIfvN9I9wFzY2naq9rvbe9wOLv82RIj UYAg== 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 dr7si3252481ejc.126.2021.03.24.23.30.17; Wed, 24 Mar 2021 23:30:40 -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 S229448AbhCYG3I (ORCPT + 99 others); Thu, 25 Mar 2021 02:29:08 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:13064 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbhCYG3D (ORCPT ); Thu, 25 Mar 2021 02:29:03 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id CEA49980342; Thu, 25 Mar 2021 14:29:01 +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] drivers: staging: _adapter is declared twice Date: Thu, 25 Mar 2021 14:28:40 +0800 Message-Id: <20210325062843.852204-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 oVCBIfWUFZGRlNQk5DHR1JGExLVkpNSk1NTkhMT0lLTUtVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6KzI6IRw5CT8UOD4RLDRNCQEL TEIaCxVVSlVKTUpNTU5ITE9JSElMVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKTUpMNwY+ X-HM-Tid: 0a7868126f95d992kuwscea49980342 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 --- drivers/staging/rtl8712/drv_types.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h index 0c4325073c63..976d19cdcf87 100644 --- a/drivers/staging/rtl8712/drv_types.h +++ b/drivers/staging/rtl8712/drv_types.h @@ -36,7 +36,6 @@ enum _NIC_VERSION { RTL8716_NIC }; -struct _adapter; struct qos_priv { /* bit mask option: u-apsd, s-apsd, ts, block ack... */ -- 2.25.1