Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2110478pxb; Sun, 18 Apr 2021 19:22:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4O4ZqIhCz89fuN2i2P8ibVc7EExLaiuP6jSZdiBEPpB3VZBoJtsq0VgumsaUftmN8CAJE X-Received: by 2002:a17:906:4407:: with SMTP id x7mr19546318ejo.546.1618798937439; Sun, 18 Apr 2021 19:22:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618798937; cv=none; d=google.com; s=arc-20160816; b=rCcWXjP0i/YkIYJefrVSDDN6fxSitqLI3eZuu+nv/VpKui7Dyo2GsGrMI2xKAAP+mx eXhI4B5eSw0h/uExrPshIPH0LyQLa34SLG3JNz1JrVFHB8WvVmwAzjxbwpvAPyBbdJqW XFpe9Kc8lJE18hnGScCuaSxxzc/DKzuBsSy37ChRk9MstsoqKx8MLBsh4gOzB+73Mkj1 Nv5RLdWpunNLj87kK2VE0vUu8UbMP0+BYzE51Cz3IFbYappl+LAWGBZwU2EUvr2IK9xf eWIo8NnfVPqM6QhiyoLzNVC3WgZEyazAigh2KGXO6uFItbSwxHCO+jVfCmpHzW6qHu4G e74g== 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=hdIvNm2Ejv3eHDUNsOoSTKQcVZmZbzSmD9mKdRclFOg=; b=tBfrr0ZwW58EDMesf9Wu/44prf/E9+97o1FX4iN/J2FrUJ5/AXGuO9UfwGfPavlbKX P6AdW3xaK585RML7SHtFZ27BtefAjSJfoxXiB7+lLOMDXv8kQHzo1EofxQ4k9TLW0UW+ NXmx2rtv80O+i7kImQOhrHz+xVTo80DcWW6Ciw9RuBoq+/qzJShchlZThpWBaVr6DKzt /0cUkMV8lbIpGsZci7PFdktcW+5knduQ+FpI3SVid0n4m4MFPFg8ahRbEr18QiQXm14T Jg+XIxSjy748Z3JMC/IwVsPJGavkLHB8jsHLf5/XRgzyYAlh+qUfR3RXdoUfxkmvL+hD aY6g== 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 d4si8092167edv.581.2021.04.18.19.21.53; Sun, 18 Apr 2021 19:22:17 -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 S233156AbhDSCVE (ORCPT + 99 others); Sun, 18 Apr 2021 22:21:04 -0400 Received: from mail-m17635.qiye.163.com ([59.111.176.35]:53854 "EHLO mail-m17635.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232097AbhDSCVD (ORCPT ); Sun, 18 Apr 2021 22:21:03 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17635.qiye.163.com (Hmail) with ESMTPA id B2ECD400253; Mon, 19 Apr 2021 10:20:32 +0800 (CST) From: Wan Jiabing To: Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] fs: f2fs: Remove unnecessary struct declaration Date: Mon, 19 Apr 2021 10:20:03 +0800 Message-Id: <20210419022003.34172-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 oVCBIfWUFZQ05MSFYdSRlCGRlLGBhLSxpVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Mwg6SRw6Cj8QMBVCFxQBCDgw OApPFDJVSlVKTUpDTEJDQ0hISU5IVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKT05PNwY+ X-HM-Tid: 0a78e7edeccad991kuwsb2ecd400253 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct dnode_of_data is defined at 897th line. The declaration here is unnecessary. Remove it. Signed-off-by: Wan Jiabing --- fs/f2fs/f2fs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index e2d302ae3a46..0757f9e50fd2 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -3299,7 +3299,6 @@ void f2fs_hash_filename(const struct inode *dir, struct f2fs_filename *fname); /* * node.c */ -struct dnode_of_data; struct node_info; int f2fs_check_nid_range(struct f2fs_sb_info *sbi, nid_t nid); -- 2.25.1