Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1419184rwr; Thu, 27 Apr 2023 18:04:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5d4kDgjeyINTU/u4WGIigdwR8mrJeXqCX9ldnBT2HsCTzcwXmQW8cC7K7UUeWzFM0MDCsT X-Received: by 2002:a17:903:22cd:b0:1a6:e6b6:7d79 with SMTP id y13-20020a17090322cd00b001a6e6b67d79mr4214037plg.49.1682643896343; Thu, 27 Apr 2023 18:04:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682643896; cv=none; d=google.com; s=arc-20160816; b=t5ojmL1xzBu8LI710aOVrbfSGlNOCKELXg2lBzZQduCBK7dxkxXO90Wsju3Sk5WfZW +FSTi6ph7gcz6Ojf0zFaownUcVRZsgoGjC9bSmsi+0ciVCmyjcUbpAJWHAIL0V4v/clw woFaPFBLP7MRS80Prys18p674kodAhxbVE1faoF46YCBqGjImU0iDPHW8cdLymE6fLw8 /9cTuh2LB+Atsj0NSGrpqChxuVSpTg2E7hzJ7VQjawa4lZUOqoEXiRO0QprdS30rKeZG HPMjoZLemwrwX5f9qiiB/kpYcZdjRqbReq1hdfCmCb65u7saKH/7nK6njxNyuVd5u5RE tnkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=5If5UNs7lNWjwwu0sqTR+JbEU2JKZAL55uOLmc2FeFo=; b=MqGNBleqqrcACjFQerhu9hKlBuJFvXkeyseLfuRXRDodETstoLJ9++iKUp5tVRLf1p ypL0BABmznX5cRfhqPBOBa6ZflydrSbqdKyrZVyPxAZAVybHXQXb82VNcwNELV3hvMnv yM4kO8BKlUYzGNZdZQEWEiOOezFnmUoWEztbcm13tnNU2oh+tW5saftmtSvdR8yQcQGP I9hUZDTXnjtLKCySYWw3hwdc9sGvEk/FT0pF+wRmRTXFnmKe1DgXEd8NwDKJIf3yj2Mf bdKQTlf9wHeiG9Z6QC6znIQaKvydNwX5jCABscPVCSj+E5y51IkvcdQ6gKCby9hNDa41 3itQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I6rWayZl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a631d09000000b004fb97a4c536si20070144pgd.873.2023.04.27.18.04.39; Thu, 27 Apr 2023 18:04:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I6rWayZl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344633AbjD1BBP (ORCPT + 99 others); Thu, 27 Apr 2023 21:01:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229965AbjD1BBN (ORCPT ); Thu, 27 Apr 2023 21:01:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A87812703; Thu, 27 Apr 2023 18:01:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4AA7A640A4; Fri, 28 Apr 2023 01:01:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59A3BC433EF; Fri, 28 Apr 2023 01:01:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682643671; bh=Ze7Rmxv3LKtkH1ANVKux+0dOMHgCVGFP+y01bt0LlkU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=I6rWayZl6SuHVCf/8UBr11n1a1asSocPamkSOaGi6vbj06tj8muEqTW404vkSnR3+ TsdZQ5VpiOkBMAWX6jtwTdbcX5p1jKctK+QC6fn2c1gHpr85U2511koywBTjOidwHE /Ie8UdGjW9VynvGZrVkg9wJRa3yMJDhtShIAH0CEVxB0117CRDdXT6Y5pQiLlIEeKn P6BOJjMKmEV4+C5zxFDgyALRpGMYux6cUE8Vg8pNnUJ0qXxV+JKngDVkUE4vIDuLIg RJ4SNU3Y5Jzba7bMjtwNTRue43/yScFebLfH9tf3BYxeAFUjKdugRhAVv79iHe8vPg 8j+LAdk1NMw3w== Message-ID: Date: Fri, 28 Apr 2023 09:01:08 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] f2fs: remove some dead code Content-Language: en-US To: Jaegeuk Kim , Dan Carpenter Cc: Christophe JAILLET , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <523ec4b037d064e92e19203e3ab9a161e3d9aa71.1681764681.git.christophe.jaillet@wanadoo.fr> <2867d5b3-c6cb-49fa-854a-0f58f9a5adb5@kili.mountain> From: Chao Yu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/4/28 0:28, Jaegeuk Kim wrote: > On 04/18, Dan Carpenter wrote: >> On Mon, Apr 17, 2023 at 10:51:46PM +0200, Christophe JAILLET wrote: >>> >>> - ret2 = filemap_check_errors(NODE_MAPPING(sbi)); >>> - if (!ret) >>> - ret = ret2; >>> + ret = filemap_check_errors(NODE_MAPPING(sbi)); >>> >>> return ret; >> >> Let's get rid of "ret" as well: >> >> return filemap_check_errors(NODE_MAPPING(sbi)); > > Applied with this modification. Thanks. Reviewed-by: Chao Yu Thanks, > >> >> regards, >> dan carpenter