From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 995D2221FCC; Mon, 23 Jun 2025 21:52:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750715528; cv=none; b=YuV7sUi8zo3pO6cwugOds1e7XPkp59SWAo9dIDINT88NDYTBaiO0YNq6mxBc+oxvXvR4d44FTKLBEfQ7tk1qNX+WWhvGfQ8KTCITGwhLLAuY8h3eIZv+/X9JobNpfQg8raRKk/N2pMtSzCBqpN1/CU/ha29K64EMMHwkoyyR0D8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750715528; c=relaxed/simple; bh=JkR8AQcR7j+v5sHAJpst+RBrLKA6hWddJ+oFioL83wA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KeREWdtv2dcG2JGS+B0veqz7YTK5zhsTXK8Yj1pBBsG/fiIbbBP7XX2fCphY2bCur3JZA/RUEdhtaFj9BbuuNewIFOYrxSnPrgSW1DW+irSpFntqyiNjN4gmcJyadk5HsPliDvGO1WMOWZDrStJSuUkJf6au8XbRPJcBCGh0ZsU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TYJKfepB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="TYJKfepB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 304A2C4CEEA; Mon, 23 Jun 2025 21:52:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750715528; bh=JkR8AQcR7j+v5sHAJpst+RBrLKA6hWddJ+oFioL83wA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TYJKfepB8JkKCcMTJSPIh3Zqnz5e8qyhgkHOgm+rtxkySmjF36g9OLwo94k5n29vs seTEyVY1pJQRe7OeFcsz/56cPlhYWfdReNmv/YHWxxeprvgcPRmyDqX1Y91nvFguZG 4/ItuOAJWwisgL0/NiCbzym1P5ekKRDYYJiyuyvg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Steven Rostedt , Hongbo Li , Gao Xiang Subject: [PATCH 5.10 301/355] erofs: remove unused trace event erofs_destroy_inode Date: Mon, 23 Jun 2025 15:08:22 +0200 Message-ID: <20250623130635.828092454@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130626.716971725@linuxfoundation.org> References: <20250623130626.716971725@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Gao Xiang commit 30b58444807c93bffeaba7d776110f2a909d2f9a upstream. The trace event `erofs_destroy_inode` was added but remains unused. This unused event contributes approximately 5KB to the kernel module size. Reported-by: Steven Rostedt Closes: https://lore.kernel.org/r/20250612224906.15000244@batman.local.home Fixes: 13f06f48f7bf ("staging: erofs: support tracepoint") Cc: stable@vger.kernel.org Reviewed-by: Hongbo Li Signed-off-by: Gao Xiang Link: https://lore.kernel.org/r/20250617054056.3232365-1-hsiangkao@linux.alibaba.com Signed-off-by: Greg Kroah-Hartman --- include/trace/events/erofs.h | 18 ------------------ 1 file changed, 18 deletions(-) --- a/include/trace/events/erofs.h +++ b/include/trace/events/erofs.h @@ -235,24 +235,6 @@ DEFINE_EVENT(erofs__map_blocks_exit, z_e TP_ARGS(inode, map, flags, ret) ); -TRACE_EVENT(erofs_destroy_inode, - TP_PROTO(struct inode *inode), - - TP_ARGS(inode), - - TP_STRUCT__entry( - __field( dev_t, dev ) - __field( erofs_nid_t, nid ) - ), - - TP_fast_assign( - __entry->dev = inode->i_sb->s_dev; - __entry->nid = EROFS_I(inode)->nid; - ), - - TP_printk("dev = (%d,%d), nid = %llu", show_dev_nid(__entry)) -); - #endif /* _TRACE_EROFS_H */ /* This part must be outside protection */