mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] linux/printk.h: drop unused log_entry::dummy member
@ 2023-08-04  8:11 Ahmad Fatoum
  2023-08-04  8:11 ` [PATCH 2/2] console: allocate only once instead of twice per log message Ahmad Fatoum
  2023-08-04  8:31 ` [PATCH 1/2] linux/printk.h: drop unused log_entry::dummy member Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2023-08-04  8:11 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

The pointer is used no where, so let's save that space.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 include/linux/printk.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/printk.h b/include/linux/printk.h
index 978e853bab48..76cdb15d5b4c 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -149,7 +149,6 @@ int __pr_memory_display(int level, const void *addr, loff_t offs, unsigned nbyte
 struct log_entry {
 	struct list_head list;
 	char *msg;
-	void *dummy;
 	uint64_t timestamp;
 	int level;
 };
-- 
2.39.2




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-04  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-04  8:11 [PATCH 1/2] linux/printk.h: drop unused log_entry::dummy member Ahmad Fatoum
2023-08-04  8:11 ` [PATCH 2/2] console: allocate only once instead of twice per log message Ahmad Fatoum
2023-08-04  8:31 ` [PATCH 1/2] linux/printk.h: drop unused log_entry::dummy member Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox