Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7029564rwr; Tue, 25 Apr 2023 07:14:18 -0700 (PDT) X-Google-Smtp-Source: AKy350a3RGU5cBxnVqPa4eRXAd/EEek7JCyQkemlwagN/2TlWBpa3V6HQ49iTHAD8xdyGG3Y0WUp X-Received: by 2002:a05:6a21:100e:b0:ef:166a:acf9 with SMTP id nk14-20020a056a21100e00b000ef166aacf9mr18364224pzb.43.1682432058104; Tue, 25 Apr 2023 07:14:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682432058; cv=pass; d=google.com; s=arc-20160816; b=fGmiCSSvWoIE30WjLNzfmQPbqYyhIdIktOedeakuZ1Ot26+e0fA8RXRtFGjRUxn2Kz BbqMSDszif6x8Sn+D/bQ/4bb5vy+sKk2t30s/LtxH4MjYK1LzASmXIVE2yIQHlN38Ci3 aSJLVZF9ivc6H9rvMxBAofapJsDsQaefsasO5AwI9uvYv0IxJa+OIHrFYvAnnhWhQLto BhhbzwbSCZ9QfthhooHst6yUndbtKNqmrZNO7DqRorftsb3gRikvIW87903Rbc0+4cad oOJ3qz5V5pu2XMDzyNakaRZIvwF84w8GS5uWgG7OO3lcXIxvBrRRyBZAO8zxYJjBe8Qs Miag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=SjQ+Ak+LVQQqfW83hoX5RLJcaeyMVrqOz8zEeR0GSQQ=; b=rYHNSzBsL+TJlTvQKHhwGNWCk4rWr9KF0Xb9pGgcH4dU2M3iJz3Lbi2H0UCUvupxEs 956ahty+LPE6wuhk55OfMacxLSozGl5E2fUZ2/F1TX27x9kTmcAJQAvJ0JvzGsb92Uga HRT4M5tsK1HVN/jtBfWFZtq5S0Nj14QV75q7JBbFcAIMCDQVFvj96emvknZneZJrvs6R 87LLv/SJUmSCA6arWIx177lVGJt003cFmhtYq6CCDgb7t9uNxcQJtql/Zg8Vw/xbXgZd 0onprLmn/cpyixQ4xJN5wF4cY8oUjtvWB+TNto8WPiaiCjkgGMQqEHGzij0YLt8IQ04J tt3A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=AoyDx8ru; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=HMds6F+P; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020aa78ec9000000b0063d3387b4a3si13656906pfr.303.2023.04.25.07.14.04; Tue, 25 Apr 2023 07:14:18 -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=@oracle.com header.s=corp-2023-03-30 header.b=AoyDx8ru; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=HMds6F+P; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234418AbjDYONA (ORCPT + 99 others); Tue, 25 Apr 2023 10:13:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234450AbjDYOMm (ORCPT ); Tue, 25 Apr 2023 10:12:42 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 631CD14F79 for ; Tue, 25 Apr 2023 07:11:59 -0700 (PDT) Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33PDinSF017700; Tue, 25 Apr 2023 14:11:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=SjQ+Ak+LVQQqfW83hoX5RLJcaeyMVrqOz8zEeR0GSQQ=; b=AoyDx8ruHtcrBCl1SO6Y+t4PgA7OOtpw0qGrBNrSWidwR9Nj7AC2c63UN8LWAHh1SKyB mFoO/ZjTHV8c/21mqQBPPuH8Gy71Vs3MtJLKYn1qrwMtGrx4kVzpuFFSPkAzC9e/doCl XX1K5Kw0yGARD3S/idAWsVObRW+7ec1qJcMLbqU8+rpJ4KXr6bU8qLWn3oC9Z3tqu428 u/gGmanqZvwdN0KbQQlBzL42FhwJvPSTd/ugnzDlfR/0NnDn8ApT1EZA4pgrENv9b44Q bjW4RIiSQSs/z8F2vXK7i7nQXSICag4tvE+ZEY5+6n5NX7/V9BEfKVCmULSaJsYS/8M1 ig== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3q47fandv4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Apr 2023 14:11:10 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 33PD1ftv007351; Tue, 25 Apr 2023 14:11:10 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2105.outbound.protection.outlook.com [104.47.58.105]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3q4616ge1p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Apr 2023 14:11:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N7R+ro0G2UpapPaqembNViyryMV8YFP+oxJWhZo0PrDD0/GtYnhdLSjYxnTPVS7qf7GDWVDeopCyuVrxtQsadKtBAyV022dobogsK9P86Qz3xGDcX2YIF3bqqPic/5U+T3pNphXDeuoW8+KVAAwvVfDRSa3u5AtNrnsRozCOEgyFIlL0l5MSF4Ny2km5jAHgTPoVEFBCDFEFszmKWpgIfO4Htcj600/RCxQS+oSP8w+5maBlljmdDL+EpFtwfIrz/nXEO44R1XfJcMqRWO1T+p/Kv5Awm7i6zQ9VI/UWAueagf3TptYAnOWHl7g7DF5xcJhJEOEShtpY/qthBNTyFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SjQ+Ak+LVQQqfW83hoX5RLJcaeyMVrqOz8zEeR0GSQQ=; b=TXvphHfaEwGWhFwGI5JUwVPfm0SPYCzleaqloae209mIIg6m54O1BN6GYu/eJQU4soryO/DaFdofKa1ffOkaL97QlARwyGTkjFlmdOHRcefRALwTosSR7tA0kt/O4Gga/UTvFvKmMFY6QvxF0E7OYQKEJulr+g8UXoMqElQZhlwTnUIQzIuH4AyFq/l4DPtu7DjfJRRjJgpq5sO29durZUrAcX5nb8TLLh3siH5EsG8Ij2Vb53VQtomRuITEIPV4a+5qtZ58iyDKErYR+YVSfFnjbS53W7IeIxA1FTzPHDw2+JFjBct7eONLVLWkxtbJ5++wGRiC+9sJsiRte0kHmA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SjQ+Ak+LVQQqfW83hoX5RLJcaeyMVrqOz8zEeR0GSQQ=; b=HMds6F+PKN1PyAzUeHMPzwBxzJX+CqzZMoDTX/M0epMWol/b3QPFXX6iaRgLHP6H32ZniBv/K8UTW0ENvtUvuoRdmDmiAXo2H2CRz5gvP7XXCBmK6nT7INWFj+M9dU7b03/s9dUd1yYFLSlL6RpLgGPQsbMlD3I+iyGzh1UFLvg= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by CO6PR10MB5572.namprd10.prod.outlook.com (2603:10b6:303:147::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.33; Tue, 25 Apr 2023 14:11:07 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::8bb9:2bb7:3930:b5da]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::8bb9:2bb7:3930:b5da%7]) with mapi id 15.20.6319.034; Tue, 25 Apr 2023 14:11:06 +0000 From: "Liam R. Howlett" To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, maple-tree@lists.infradead.org, "Liam R. Howlett" Subject: [PATCH 20/34] maple_tree: Remove unnecessary check from mas_destroy() Date: Tue, 25 Apr 2023 10:09:41 -0400 Message-Id: <20230425140955.3834476-21-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230425140955.3834476-1-Liam.Howlett@oracle.com> References: <20230425140955.3834476-1-Liam.Howlett@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT4PR01CA0095.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:ff::18) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|CO6PR10MB5572:EE_ X-MS-Office365-Filtering-Correlation-Id: de23e635-4957-4187-5511-08db4596e97a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dVaWCPAh/MG/KhTJZmqL8Y0gSZqcrSGBqKn1AWca4RxzpJ+RzB0fmNe8m4qHJ+GBibRBbvYW+0iowXMa+xutcDQtT9d/SY7f3BHv4vFEgstza9VG7UyNJqts5ZaQUFOGAJW1h17mjfHze+P0begRgIGqW+3FKiVOydxlMocCjDDYz7+tHCxxMuHNV+o22JB7dm9H9GB7WzXALCNlvXRf5s3dVpjy1Gqvn9Y7kP3z5fSwr3kfEdzHDWrk4MwGsLima40CIvp4o8BZv2zUng78NiqdPB/xOTHbaf6tns0tr6AjR7HU5qROJn1e4e7dTHgIn+hFl6RyfA2LlA2Kz0kbPDrIcfGXzz6RW8AZ0xJ25SLRcWtF1pUDIaPhd5k1zv30lM7Bl1+Va1ZZfU6tJXuPRIAZzrGuR1+nW1ixdyQ1x7F+Z0zvfRqK/bPWHIf5bwsF8RL/c3PJ8ie6yXXUrm0AOOiDmbLBVODjl+d0KeEcYSEe0sq0j7n6HlnsYyVDzp87BjfDISgm9nNjbFv5G3ZS00BjUrQzjYlzQ+1AAw8GpN4wMv6YhQR0nhEFDLVjKc5s X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR10MB3022.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(366004)(376002)(346002)(39860400002)(136003)(396003)(451199021)(478600001)(86362001)(36756003)(107886003)(186003)(6486002)(26005)(1076003)(6512007)(6506007)(4326008)(6916009)(66556008)(316002)(6666004)(66476007)(66946007)(83380400001)(2906002)(4744005)(38100700002)(8676002)(41300700001)(5660300002)(8936002)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?h7/0YI1QAHtoy91oaZIFXmdrSy5U3vdsOSgulVDCQaifD1CnJfwlIkm24WxS?= =?us-ascii?Q?/kEwBZh+fY9N4I3BTPabtsfsB6BriHQ/IPO7rcvDNzh+rX1GixxrO0h7EIfi?= =?us-ascii?Q?wwlLHxMpvssxhQxifvyNcuQWooEQ8WfIodUQNT914MYp2bztZDgl0/Peheam?= =?us-ascii?Q?G7QTF3AiXBC0tmYYA+g0jvzIZLfXRZOuOlBjZKpbhAM+cf/rW48tXg/fUyp9?= =?us-ascii?Q?HlA863lKnMgls7bZCqeC/TeNO7I3wUNaLmk5XZ+2Dr3MWCTuWOhyDWs2SIV5?= =?us-ascii?Q?e4+HmSI4+mgyFECoRRFCRuWulIZLjLUghmVJvZqMevsxfvg4Bq032tn/fsbT?= =?us-ascii?Q?ww/anUOEYszdsX213lvktqD4KuRlIq5bl4yvzBPzCEuUZlJHUXywkhWdfHmV?= =?us-ascii?Q?chl66Ge/fKR9wIk9jsjrRHnUad1Nx7ZOzBNB9v37alPsrqr0fcFx6XAjXbP0?= =?us-ascii?Q?jhGscpRM9XnIKOfxOrGWe10C3fD9zBofExrAgXLMlZLW1IjEmeYy459TUsfv?= =?us-ascii?Q?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/X7EH9Qa61gMjnpnPiNOSMlK98TDaSFAAqJssFK/okwtdwJUY+Dpe4gvdh1y9ghFuY/UIkgbtfZ3wVwfHK6BdpENfmcnvOVJ7UsHqdjatXNTjgwOJol6yU0qN30SVfim+cAIhMAXib2xAFfo3++iZh2Nngu3p5eLMkefJbjFmoQf5p89w== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: de23e635-4957-4187-5511-08db4596e97a X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2023 14:11:06.8755 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: aPVhHYnH1CdJsnePG6dqMG4SMDezdR5FedTzpffSmhL64LN72cPeiKDG2pXl2XYMN42LYUQE6bAZ0qNmb4dwtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR10MB5572 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-25_06,2023-04-25_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 phishscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304250128 X-Proofpoint-ORIG-GUID: -bXm8Rt6vYSv20pKsqoExK9Grz8M8Ktx X-Proofpoint-GUID: -bXm8Rt6vYSv20pKsqoExK9Grz8M8Ktx X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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 mas_destroy currently checks if mas->node is MAS_START prior to calling mas_start(), but this is unnecessary as mas_start() will do nothing if the node is anything but MAS_START. Signed-off-by: Liam R. Howlett --- lib/maple_tree.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 89e30462f8b62..35c6e12ca9482 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -5817,9 +5817,7 @@ void mas_destroy(struct ma_state *mas) if (mas->mas_flags & MA_STATE_REBALANCE) { unsigned char end; - if (mas_is_start(mas)) - mas_start(mas); - + mas_start(mas); mtree_range_walk(mas); end = mas_data_end(mas) + 1; if (end < mt_min_slot_count(mas->node) - 1) -- 2.39.2