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 682A9227EA7; Mon, 23 Jun 2025 22:13:11 +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=1750716791; cv=none; b=JM1Xzw+ZjH1OaPus6ulDI+kDl/PZoRCh34CS6tkH6AfVdCNWss23I7dmgfftQuMGgd7nSki21iF4mYabkPkpQno3U21U4Sgccp9rZ0U6ZO0XPwCceN9r2dQBV17uZOXACWVhQjC2Jox9xNEoMCb10M6m3juJ0utl8xTWIaqsmQc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750716791; c=relaxed/simple; bh=Qdq4jAIWezKD5Y/xDZIMkFNAzinWSsS0/0TJ3dp5F2I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gXIlYPLFO+y+ZUp5pU2+xmi+ltcOR3Jv/htgsnK1rjJIlguxgujUVX1OgL8CY7JlQJDI2lCa+X3I1FiOdInFgqbozfJshvlRoRpP+3CStXTghNfF/wtznBMcV5QX+MTYGrrNH/u38UKu3jW8O/sVbzKAEZ3OniRXOElFs3KDO2M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yig/zOHc; 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="yig/zOHc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5AC1C4CEEA; Mon, 23 Jun 2025 22:13:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750716791; bh=Qdq4jAIWezKD5Y/xDZIMkFNAzinWSsS0/0TJ3dp5F2I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yig/zOHcME+l4HrqUaw98+ExjJWhDQFoghO0fEBWUaB2GT9bIv5DOd1FnLEDOProL 8gUeO0VJSZkmjQqtuy0x+IP1R2HC9q1CmmGeQm7vBzHDfhjB1SRmKT4b1o0cy5bWP/ Dalt8E8eisAXPi0sXpri+/8Z/FhdiSqPI3dN5PD4= 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.15 365/411] erofs: remove unused trace event erofs_destroy_inode Date: Mon, 23 Jun 2025 15:08:29 +0200 Message-ID: <20250623130642.830335899@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130632.993849527@linuxfoundation.org> References: <20250623130632.993849527@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.15-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 */