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 01CBC223708; Mon, 23 Jun 2025 22:20:36 +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=1750717238; cv=none; b=Mtlt+r4BAQ5xJO9eiqDgTQ2f2qW7rxzw+UfFPx7kPSoZ7dv/QnlXf+fbnzTAKYh1gopdf2C3PH/LdLbNA0ZXa8WjFgVfrM181ugDTBzNzIasiiU5WYYcDQu6WYH/qx+bmis33Sus/THSibMTNjwEe4j2V56MlLcAks1FrPFp708= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750717238; c=relaxed/simple; bh=bmK6KHONtCRoFqoinSfKAM9HVhT18ruEjeEJmgpfIRI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RpFbPPwyuh2rnrX0PDotBNGdlPh34mNSSDkQTcqdTaCfaS+RbnwJD/0OC1e6iPYkCjPCE1hw8e1UFm0sBBln6fQZC4cJzOWjCnKAL50A8mYyBpxDbNpdlwV69c4fBKKJDK7BKQBOrMAjuEZ91DuhbwabQidgpTh3daIZZ43k57w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0NtliFvW; 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="0NtliFvW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 232D1C4CEEA; Mon, 23 Jun 2025 22:20:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750717236; bh=bmK6KHONtCRoFqoinSfKAM9HVhT18ruEjeEJmgpfIRI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0NtliFvW8QRuC/DkvidZb95lQPx0E1eZinzrjGfKPI76xoS6WnHN1umSpRG3g7WMO JLutB96mD5BeuhtBgiZQzSKiew6xAD5QFbmStYiBbtIXpLOPd4cWOG4ceDy4yGhG73 QH2IPLkHIuW9ygUVPaApvFxPW17yKoyOT15Dl3Nw= 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 6.12 344/414] erofs: remove unused trace event erofs_destroy_inode Date: Mon, 23 Jun 2025 15:08:01 +0200 Message-ID: <20250623130650.578029882@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130642.015559452@linuxfoundation.org> References: <20250623130642.015559452@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-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 @@ -211,24 +211,6 @@ TRACE_EVENT(erofs_map_blocks_exit, show_mflags(__entry->mflags), __entry->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 */