Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp164423pxf; Thu, 25 Mar 2021 00:46:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlVu0aaTeYJI/6stA+9q9ls49izVVdoU1S4CXIe1YWF/0I7xaui8Q2yxVhE1OpOgRaoOZC X-Received: by 2002:a17:907:b06:: with SMTP id h6mr7898448ejl.144.1616658394298; Thu, 25 Mar 2021 00:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616658394; cv=none; d=google.com; s=arc-20160816; b=UrGKSmC8sUWoXqQme/+0DRDq6xKQkYK+GS+XTaV86fQTglwF/0OMHrfVlJeJGParLf 8c7SR+o1Jma/ZIklkHAWbBfYqkBqxDWVo3zSHk11r1bIf8zB3UrFwBFdMPWBNsKwakMh Y5ZFVTcFVQq3ZUqc4hC6scPxDK0UESPR/bMmCTGy5zvGwY/MoERbIDTdCiGmmzL1pTqR j2FdCe75aOFY0Yyfo6tsgWopmejW/s/u2hRqTyquX/0W8qas9Tl/xYSU8dMnd83sPAb0 x82rMPNQLgkwFAWSGnLQKHLz1qBqzWLAWpmG6X8+12KdFlqnOycF0NQUkn8UrPnClBlJ 8VsA== 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=k91Oxxm55t/wtfSGc3H7STYpP9zvX0fcaiIc1kajtBQ=; b=gLHVrxWlwwBpmacobZRtiTK9q0zC8zuIFSfIyWzGsHW4QXbqNvhMBVC7BqruiRSSDO OGiFOY4XDI4PMfvtZ06DLbx0OjaigC+wqNTFEMSzXZl18aJ7duOvmbhvqYH8fnB09Qdn MPd5ZYwkZIoIMv4k06nDezK533IUrJ07SX2qPESFlWqdOOQhRNRNqkC2MVTs405O4Mcn cQMvvLCDyx4TjeugAWHYvvmpe9fc8qIxToBX/8v/SZboeGDk5ZV/2A3g7xN8C+Li3iTl dFt3fuCNLltvLR0Az3ncrfEUKW5VGVOXlCsy4RdZDye3zAwgJE/cC/BygPy3LR5lPA13 DkJQ== 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 z15si3680822edr.361.2021.03.25.00.46.11; Thu, 25 Mar 2021 00:46:34 -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 S229533AbhCYHnT (ORCPT + 99 others); Thu, 25 Mar 2021 03:43:19 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:8324 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbhCYHnA (ORCPT ); Thu, 25 Mar 2021 03:43:00 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 7021C9804CC; Thu, 25 Mar 2021 15:42:57 +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] [v2] drivers: staging: _adapter is declared twice Date: Thu, 25 Mar 2021 15:41:47 +0800 Message-Id: <20210325074150.860167-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 oVCBIfWUFZQ0hPHh1ISklITEJJVkpNSk1NTkNKTExMT09VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6OhA6Sgw5PT8cQz4LSQ02LCk1 SAtPCgtVSlVKTUpNTU5DSkxDTU1MVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKTU5MNwY+ X-HM-Tid: 0a7868561e6bd992kuws7021c9804cc 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 | 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