mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 1/2] linux/printk.h: drop unused log_entry::dummy member
Date: Fri,  4 Aug 2023 10:11:46 +0200	[thread overview]
Message-ID: <20230804081147.559379-1-a.fatoum@pengutronix.de> (raw)

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




             reply	other threads:[~2023-08-04  8:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-04  8:11 Ahmad Fatoum [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230804081147.559379-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox