From patchwork Wed May 12 14:06:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver Glitta X-Patchwork-Id: 12253811 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09BAFC433B4 for ; Wed, 12 May 2021 14:07:06 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5E5EA61412 for ; Wed, 12 May 2021 14:07:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E5EA61412 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A4ABC6B006E; Wed, 12 May 2021 10:07:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A21146B0070; Wed, 12 May 2021 10:07:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8C21C6B0072; Wed, 12 May 2021 10:07:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0254.hostedemail.com [216.40.44.254]) by kanga.kvack.org (Postfix) with ESMTP id 6F74E6B006E for ; Wed, 12 May 2021 10:07:04 -0400 (EDT) Received: from smtpin35.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 2B3B08249980 for ; Wed, 12 May 2021 14:07:04 +0000 (UTC) X-FDA: 78132755568.35.8389528 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by imf30.hostedemail.com (Postfix) with ESMTP id 00F2EE00012F for ; Wed, 12 May 2021 14:06:33 +0000 (UTC) Received: by mail-ej1-f53.google.com with SMTP id j10so8138827ejb.3 for ; Wed, 12 May 2021 07:07:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N5LF26CKutDtZq53l+W30hpY63jIDvW7jhu+eoEl2ew=; b=ZnhUVQ9JVwJAKPCJ5gOrkoLqfQ5MdoigO+F6uo0DG1I9ymh1HS+pCVo1dSSSGX8JWB HLl0O2B7u3WlbEaa6gzPEwsdFCXnxkzmmk3lQWz2zwOpoLtZAUmYTxlikPejW9WF/3T1 sv1JWJQrEq7y2g/DgStmhN0YE4IIlIOS7Q9jD+3H8l42GXiwqRKi+hh/6iQ4SG+3RUDX unHt0FwgOo+gw9KducW7162dUZjoMWrxdJbxQSv7OAA9c6iAVNVoBUtbLPEwBsajfdFM tt4Nt2OdewldT99E9o3c6neqIYwfRzmlU9T3Pu8FdrWsMTpnIo0csYxwJ/JIF2lee1WX elrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N5LF26CKutDtZq53l+W30hpY63jIDvW7jhu+eoEl2ew=; b=aE9HX+f/XtFVzq+sEwQf78vQvuWcSeOP+L3plbeYkzzE3dorCKtt/1A33t/iiEbUOP E4JaNsuDZ8nRzIMFsYB6FPrr6LK9AxvKAqcamOdgfuCOAov5hJCRMSpIiCYTKwJso1wT G4yO9723FhdRsqC7fFXyMs6W8ksfMrxY4luPn9AyuBE377tVo8wpl9ES0J8MfGbSaH3u 3gAI/HVLGwG6DotDgqHm6jTdYWT42jLmEc6RsdUhYZheYDTOGXCuv65fctdi6nJ0MMCR i5G3K1pKtYO9f4n2Ets3762ZvETUxp2744i1IuO3y+DPc6mWjZ0Alz4II1LYNLpsh1Zo Ki+A== X-Gm-Message-State: AOAM530Ct43CY/Mx9v3E1R3e49zFyHyDKha4PcxDtu59x9twhWbEn4KZ bJHsOTG0nUJcheZNL5ndPkQ= X-Google-Smtp-Source: ABdhPJwH/iByVw+CnvRUG344WyGXRKSmDNAzfjpygkxFPPv9BlK0j9qfLnEWcMifHUCH8SNO/5GqbQ== X-Received: by 2002:a17:907:990f:: with SMTP id ka15mr30608107ejc.132.1620828420320; Wed, 12 May 2021 07:07:00 -0700 (PDT) Received: from localhost.localdomain (ispc-static-34.84-47-111.telekom.sk. [84.47.111.34]) by smtp.gmail.com with ESMTPSA id k5sm20022874edk.46.2021.05.12.07.06.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 May 2021 07:06:58 -0700 (PDT) From: glittao@gmail.com To: brendanhiggins@google.com, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, vbabka@suse.cz Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-mm@kvack.org, elver@google.com, dlatypov@google.com, Oliver Glitta Subject: [PATCH] mm/slub, kunit: add a KUnit test for SLUB debugging functionality-fix Date: Wed, 12 May 2021 16:06:56 +0200 Message-Id: <20210512140656.12083-1-glittao@gmail.com> X-Mailer: git-send-email 2.31.1.272.g89b43f80a5 In-Reply-To: <20210511150734.3492-2-glittao@gmail.com> References: <20210511150734.3492-2-glittao@gmail.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 00F2EE00012F Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ZnhUVQ9J; spf=pass (imf30.hostedemail.com: domain of glittao@gmail.com designates 209.85.218.53 as permitted sender) smtp.mailfrom=glittao@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Rspamd-Server: rspam04 X-Stat-Signature: nt5auy6wqtfshr7kfs8zunpozo6wyy1t Received-SPF: none (gmail.com>: No applicable sender policy available) receiver=imf30; identity=mailfrom; envelope-from=""; helo=mail-ej1-f53.google.com; client-ip=209.85.218.53 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1620828393-287161 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Oliver Glitta Remove unused function test_exit(), from SLUB KUnit test. Reported-by: Marco Elver Signed-off-by: Oliver Glitta --- lib/slub_kunit.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/slub_kunit.c b/lib/slub_kunit.c index f28965f64ef6..8662dc6cb509 100644 --- a/lib/slub_kunit.c +++ b/lib/slub_kunit.c @@ -129,8 +129,6 @@ static int test_init(struct kunit *test) return 0; } -static void test_exit(struct kunit *test) {} - static struct kunit_case test_cases[] = { KUNIT_CASE(test_clobber_zone), @@ -147,7 +145,6 @@ static struct kunit_case test_cases[] = { static struct kunit_suite test_suite = { .name = "slub_test", .init = test_init, - .exit = test_exit, .test_cases = test_cases, }; kunit_test_suite(test_suite);