From patchwork Mon Apr 24 23:46:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Zetao X-Patchwork-Id: 13222333 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D65C2C77B61 for ; Mon, 24 Apr 2023 15:46:48 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1pqyOu-0002E3-7w; Mon, 24 Apr 2023 15:46:47 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pqyOs-0002Dw-5F for linux-f2fs-devel@lists.sourceforge.net; Mon, 24 Apr 2023 15:46:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:Content-Transfer-Encoding:MIME-Version :Message-ID:Date:Subject:CC:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nfMNEuRl44uF5Jwgh4trYhfoQd1i+R3ihLAlsMM3FDM=; b=i1pn6ZwClJcVB1su1pcqKD3TMZ W5qDjokd6zfanWUHcziCEjo3QZhVs2P9btaO5B21+mCLwVmKT6Lxg7vqhfWJ9/SkpTk0LH2LNkNB4 msnMy+RSz47u7JSHPlsWSTlwtUyNxvL7K9Wupj4tKvvEvOd/8wm46elJmlOhaeal5w0w=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date: Subject:CC:To:From:Sender:Reply-To:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=nfMNEuRl44uF5Jwgh4trYhfoQd1i+R3ihLAlsMM3FDM=; b=W pxF7efIkYPlvo6uQAeSDqYhrKQVTW5FrGn7P5yO3nG2cQSJARfxGnNGUd9XnHypIZU+00+IfWhJJf WeMaCjeNIrbGuK1jR0Wn/TxJrr66+D/GXHO5r+z3kQ/Kn59g51gW8zZwQf0JkV2i0DQKCVSqd2Mb/ c5XCdoOF4WlA6HAo=; Received: from szxga08-in.huawei.com ([45.249.212.255]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1pqyOp-0007PI-2R for linux-f2fs-devel@lists.sourceforge.net; Mon, 24 Apr 2023 15:46:45 +0000 Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4Q4qC51sWZz17Trl; Mon, 24 Apr 2023 23:42:41 +0800 (CST) Received: from huawei.com (10.90.53.73) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 24 Apr 2023 23:46:31 +0800 To: , Date: Mon, 24 Apr 2023 23:46:48 +0000 Message-ID: <20230424234648.577673-1-lizetao1@huawei.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.90.53.73] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-Headers-End: 1pqyOp-0007PI-2R Subject: [f2fs-dev] [PATCH -next] f2fs: remove redundant goto statement in f2fs_read_single_page() X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Li Zetao via Linux-f2fs-devel From: Li Zetao Reply-To: Li Zetao Cc: linux-f2fs-devel@lists.sourceforge.net Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net After the commit "0a4ee518185", this "goto" statement was redundant, remote it for clean code. Signed-off-by: Li Zetao Reviewed-by: Chao Yu --- fs/f2fs/data.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 06b552a0aba2..c9a71b4b09dd 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -2171,7 +2171,6 @@ static int f2fs_read_single_page(struct inode *inode, struct page *page, f2fs_update_iostat(F2FS_I_SB(inode), NULL, FS_DATA_READ_IO, F2FS_BLKSIZE); *last_block_in_bio = block_nr; - goto out; out: *bio_ret = bio; return ret;