Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4132268pxf; Tue, 6 Apr 2021 08:38:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyecg5NQYdML7ihWyPEeq3PqWfzLXQlkZ6+oimSr/TavPAZhlRq7bFfwCVMeMhUuQztgTcC X-Received: by 2002:a05:6402:22f9:: with SMTP id dn25mr146074edb.101.1617723488672; Tue, 06 Apr 2021 08:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617723488; cv=none; d=google.com; s=arc-20160816; b=h4oOo3zoFLo/37MijS1JdK2jfsGW7N4IyeJDrk0mRHjxxiwedZyPz3K5WB/FNTAPct 5pHe8HMB/Wg+i27O/xomxH1mF8yXKsI//hPvD3wM1f6rutKesn7dnaU4KO/zf3nT7I41 w0eEIFK8aEVwXcwksHl3AwogfChE19EFXflb46FgMxJH1z7AzGmDCzaIkPtCzwpYeFsS wt9c967ESzmuAtZqdtQSjEEx66OBTQxUXhhj1gaYVA22Ek183eP0f60uSVagE3CM2bSa xYM7oga31qK+l1oYrSPHvW36OcNAmGMt9lRlTiBs/yYxKJm8Dd4C0YO12hiC3sKEfV6p lbQg== 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=E78TdVcYyJm/o4O9uHbErQym3tNZTaDRN1GwVV6CzfA=; b=Qoz7XzvibIlv302Ta2WzDvZoO5kQUAkujyT6IbNqfLbTBc7GE6lgUBA2geEdESrsD/ WeJ0iYQ60orW/WbIb82n08ymfBOaCBKeIp5fOLhCcaz6zKlnbBhK4ETUE84ngB6VEMz3 wOsed+kW/7LJhzDDY0owA/8nn4Wa4nkgfUfOBLVMsG9rPl1Bzhcay+GK4rAAcqB7T7Ak JhdlhG6uBHuUOTuN1jpgCDaDQO8nF7o6An0CQFYpu2QQW7ickT8pVMgRfW4QtJcfNsWV H/GEe+MbNtdoEiLmuoGw0y5uNv+Pag7U03vHh4AIDw2WgA3KdLkN1BxjTjnOtVYqO0qY oOew== 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 m4si5346609ejx.536.2021.04.06.08.37.44; Tue, 06 Apr 2021 08:38:08 -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 S244028AbhDFGin (ORCPT + 99 others); Tue, 6 Apr 2021 02:38:43 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:13962 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238603AbhDFGil (ORCPT ); Tue, 6 Apr 2021 02:38:41 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id B776B980348; Tue, 6 Apr 2021 14:38:29 +0800 (CST) From: Wan Jiabing To: Richard Weinberger , Miquel Raynal , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] drivers: mtd: ubi: Remove unnecessary struct declaration Date: Tue, 6 Apr 2021 14:37:51 +0800 Message-Id: <20210406063751.522992-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 oVCBIfWUFZTEpDHkxDHkxKTR4eVkpNSkxNQkpKS0JCT0xVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NyI6KSo5SD8QAi4zQgEfDAEN OS4wCxZVSlVKTUpMTUJKSkpLSUtIVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKTk9MNwY+ X-HM-Tid: 0a78a5e769e6d992kuwsb776b980348 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct ubi_wl_entry is defined at 178th line. The declaration here is unnecessary. Remove it. Signed-off-by: Wan Jiabing --- drivers/mtd/ubi/ubi.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index c2da77163f94..7c083ad58274 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h @@ -388,8 +388,6 @@ struct ubi_volume_desc { int mode; }; -struct ubi_wl_entry; - /** * struct ubi_debug_info - debugging information for an UBI device. * -- 2.25.1