From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-188.mta1.migadu.com (out-188.mta1.migadu.com [95.215.58.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 279C2481235 for ; Thu, 6 Aug 2026 17:08:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786036092; cv=none; b=Om59UnCRLjB//8zl0PT7d7ZKuYsnNudhbFA32tam+l6QRNXhJf9OQrrnTLVZbxrytlzaC1ktBFo3qWaVpWbAyx90y8W/vbCizhbr8ikufJhQQTVMnM2Yz4Ekpz4SfD40vA+sdWQlWepHkkhxu4qUr7V0IK5V1R1SxSPZWOnqGGw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786036092; c=relaxed/simple; bh=2ruuupHzDg/pCnvQCr3QuP7Ea5v9hcuGtTAhco0qSZY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DoJmfVER/w9IhCf2ZCkTKED9JrUk0WYTjUICfVKQFHpTZp+RrIxDajr8r4LHQN/O9ubY8Gj/YP17yflXCwJtRWtqHAMCmchUcH8xE8J+w/JDAvdTBj006U8SYFJafF9xP4tYseJ1GcT5ew1VgEG4GCOkZ//HTHKvYFaowhcMyeA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=g1XKw5FG; arc=none smtp.client-ip=95.215.58.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="g1XKw5FG" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1786036086; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=QdJIkDZt02KDXWyy13fgX++BhyE6OHznvvIz2+ccsgI=; b=g1XKw5FGsoe4d7qJVnWP0XzNu6svQmFhvh4SS8kB1WVNAeloEVM+1ypb8xM3D8IFroznmT DYgNXjUV8uumH6y1YCaCYz0K/iaiHCOGSC0nXkZjcepPWlhRNi2FTGH2F+yB56/kHR63oO eOf8zp6LL/dDcrc6iIR34+Db37ozCuE= From: Zenghui Yu To: damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: sj@kernel.org, akpm@linux-foundation.org, "Zenghui Yu (Huawei)" Subject: [PATCH] mm/damon/core: remove declaration of __damon_commit_ctx() Date: Fri, 7 Aug 2026 01:07:01 +0800 Message-ID: <20260806170701.79266-1-zenghui.yu@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT From: "Zenghui Yu (Huawei)" It was added by commit b1471afe4d10 ("mm/damon/core: do parameter testing commit on damon_start()") but is actually not needed. Remove it. Signed-off-by: Zenghui Yu (Huawei) --- mm/damon/core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/damon/core.c b/mm/damon/core.c index e03df0a61060..fb884b2b1c92 100644 --- a/mm/damon/core.c +++ b/mm/damon/core.c @@ -1954,8 +1954,6 @@ static int __damon_start(struct damon_ctx *ctx) return err; } -static int __damon_commit_ctx(struct damon_ctx *dst, struct damon_ctx *src); - /** * damon_start() - Starts the monitorings for a given group of contexts. * @ctxs: an array of the pointers for contexts to start monitoring -- 2.53.0