[PATCH 1/2] linux/printk.h: drop unused log_entry::dummy member

Sascha Hauer sha at pengutronix.de
Fri Aug 4 01:31:41 PDT 2023


On Fri, Aug 04, 2023 at 10:11:46AM +0200, Ahmad Fatoum wrote:
> The pointer is used no where, so let's save that space.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  include/linux/printk.h | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks

Sascha

> 
> 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
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list