Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4696365iob; Sun, 8 May 2022 22:21:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxedeFJFlZof+hvH1RXkCgDbp0aeGkcdplOWknXVydbuHztKbARW7sbV+iIKDP2KSRfhrkF X-Received: by 2002:a63:df18:0:b0:3ab:938b:e6c5 with SMTP id u24-20020a63df18000000b003ab938be6c5mr12137449pgg.165.1652073677928; Sun, 08 May 2022 22:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652073677; cv=none; d=google.com; s=arc-20160816; b=jc1frAihjZyTcsKLs2jaEYPwlONy4ePtBCQytst++H0W3KTj81PioeR2u8SLNIiy3w Ejiz26H6k8cp7VZL8XQoR5UblXf3YtHNvSskFbpw3NVoysIi8Ev39tnjRoDnQayUoQfJ 2+vvBXDdavqVCkJms/S7cbhzwj1lz2sJ/TyCd2QCt+7dzmO6KrjjusIbgWWaC+obVGhi Bnkn1Mw3J712QZoy9BfGlp4cJMtzzVcX4NzQoopg+pYoqLtO+TAa2KC3XkljcHe2rgwz NmUEYsE1iqWj1WIHLOZ4fpMDxlkAo+VuLihuM1WSXDv1DA0END4Pn2t7S0+bG7aPcr1s u97w== 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=V/kt7WXk7UcZ66LKGDrwN0CamArzuccgDsxgkqukRB0=; b=FIG/9qAbd16yfSDUzQBEc+YH9eD6YtvAr08HTs2hDGfqnQeaKNs7ljvoqDj2+if/vD 0fDLOG1FinG34/44OqHgaFGOO8gUAYA/NO66PHSgtS0p5q+4YJD+FIUae3YAPFuISp7y OKyfx8WzZRUpC6KLvCSO7N1VNeyxZ0BE0T5IYkJYEplYmbdP6PY3OYFy+0wzqfMcX9UY 3hsEIv+VVSOdRJ9LnByhqUViVbUQIdjE6vRQRAsZ7NYLpU8ILuUSxUs5HGwaKlgpHDbB zYedPUm9CU7x6Zrtny6OByqBp3rC3b/dheKQ1w066ON7i3Ym8Sc8nN5tL3G9sD1iHF0X HSnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 65-20020a17090a09c700b001d2bd3fb4dbsi12405768pjo.65.2022.05.08.22.21.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 22:21:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B063A1498F0; Sun, 8 May 2022 22:19:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1390135AbiEFIaO (ORCPT + 99 others); Fri, 6 May 2022 04:30:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1389909AbiEFIaM (ORCPT ); Fri, 6 May 2022 04:30:12 -0400 Received: from out30-42.freemail.mail.aliyun.com (out30-42.freemail.mail.aliyun.com [115.124.30.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 997121ADA4; Fri, 6 May 2022 01:26:29 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VCR6E3Q_1651825577; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VCR6E3Q_1651825577) by smtp.aliyun-inc.com(127.0.0.1); Fri, 06 May 2022 16:26:27 +0800 From: Jiapeng Chong To: djwong@kernel.org Cc: linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] xfs: remove unreachable code Date: Fri, 6 May 2022 16:26:15 +0800 Message-Id: <20220506082615.19328-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no 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 Clean up the following smatch warning: fs/xfs/xfs_icache.c:1768 xfs_icwalk() warn: ignoring unreachable code. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- fs/xfs/xfs_icache.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c index 5269354b1b69..5af272c20934 100644 --- a/fs/xfs/xfs_icache.c +++ b/fs/xfs/xfs_icache.c @@ -1765,7 +1765,6 @@ xfs_icwalk( } } return last_error; - BUILD_BUG_ON(XFS_ICWALK_PRIVATE_FLAGS & XFS_ICWALK_FLAGS_VALID); } #ifdef DEBUG -- 2.20.1.7.g153144c