Message ID | 20230810115858.24735-1-guozihua@huawei.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Herbert Xu |
Headers | show |
Series | [-next] hwrng: Remove duplicated include | expand |
On Thu, Aug 10, 2023 at 07:58:58PM +0800, GUO Zihua wrote: > Remove duplicated include of linux/random.h. Resolves checkincludes > message. > > Signed-off-by: GUO Zihua <guozihua@huawei.com> > --- > drivers/char/hw_random/core.c | 1 - > 1 file changed, 1 deletion(-) Please sort the header files alphabetically. Thanks,
On 2023/8/10 20:14, Herbert Xu wrote: > On Thu, Aug 10, 2023 at 07:58:58PM +0800, GUO Zihua wrote: >> Remove duplicated include of linux/random.h. Resolves checkincludes >> message. >> >> Signed-off-by: GUO Zihua <guozihua@huawei.com> >> --- >> drivers/char/hw_random/core.c | 1 - >> 1 file changed, 1 deletion(-) > > Please sort the header files alphabetically. > > Thanks, Hi Herbert, Thanks for the incredibly timely reply! A v2 has been sent.
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index f34d356fe2c0..ead998ca0c40 100644 --- a/drivers/char/hw_random/core.c +++ b/drivers/char/hw_random/core.c @@ -21,7 +21,6 @@ #include <linux/sched/signal.h> #include <linux/miscdevice.h> #include <linux/module.h> -#include <linux/random.h> #include <linux/sched.h> #include <linux/slab.h> #include <linux/uaccess.h>
Remove duplicated include of linux/random.h. Resolves checkincludes message. Signed-off-by: GUO Zihua <guozihua@huawei.com> --- drivers/char/hw_random/core.c | 1 - 1 file changed, 1 deletion(-)