* [PATCH v1 1/1] hw_random: Remove list.h from the hw_random.h
@ 2024-06-05 18:51 Andy Shevchenko
2024-06-16 5:57 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2024-06-05 18:51 UTC (permalink / raw)
To: Andy Shevchenko, linux-crypto, linux-kernel; +Cc: Olivia Mackall, Herbert Xu
The 'struct list' type is defined in types.h, no need to include list.h
for that.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
include/linux/hw_random.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/linux/hw_random.h b/include/linux/hw_random.h
index 136e9842120e..b424555753b1 100644
--- a/include/linux/hw_random.h
+++ b/include/linux/hw_random.h
@@ -13,9 +13,8 @@
#define LINUX_HWRANDOM_H_
#include <linux/completion.h>
-#include <linux/types.h>
-#include <linux/list.h>
#include <linux/kref.h>
+#include <linux/types.h>
/**
* struct hwrng - Hardware Random Number Generator driver
--
2.43.0.rc1.1336.g36b5255a03ac
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v1 1/1] hw_random: Remove list.h from the hw_random.h
2024-06-05 18:51 [PATCH v1 1/1] hw_random: Remove list.h from the hw_random.h Andy Shevchenko
@ 2024-06-16 5:57 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2024-06-16 5:57 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: linux-crypto, linux-kernel, Olivia Mackall
On Wed, Jun 05, 2024 at 09:51:33PM +0300, Andy Shevchenko wrote:
> The 'struct list' type is defined in types.h, no need to include list.h
> for that.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> include/linux/hw_random.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-16 6:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-05 18:51 [PATCH v1 1/1] hw_random: Remove list.h from the hw_random.h Andy Shevchenko
2024-06-16 5:57 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®