linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] misc: genwqe: remove duplicated include file
@ 2018-09-20  5:07 zhong jiang
  2018-11-12 11:29 ` haver
  0 siblings, 1 reply; 2+ messages in thread
From: zhong jiang @ 2018-09-20  5:07 UTC (permalink / raw)
  To: gregkh; +Cc: haver, gpiccoli, linux-kernel

module.h has duplicated include. hence just remove
redundant include file.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
---
 drivers/misc/genwqe/card_base.c | 1 -
 drivers/misc/genwqe/card_ddcb.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/misc/genwqe/card_base.c b/drivers/misc/genwqe/card_base.c
index c7cd367..d137d0fa 100644
--- a/drivers/misc/genwqe/card_base.c
+++ b/drivers/misc/genwqe/card_base.c
@@ -24,7 +24,6 @@
  * controlled from here.
  */
 
-#include <linux/module.h>
 #include <linux/types.h>
 #include <linux/pci.h>
 #include <linux/err.h>
diff --git a/drivers/misc/genwqe/card_ddcb.c b/drivers/misc/genwqe/card_ddcb.c
index 656449c..9a65bd9 100644
--- a/drivers/misc/genwqe/card_ddcb.c
+++ b/drivers/misc/genwqe/card_ddcb.c
@@ -27,7 +27,6 @@
  */
 
 #include <linux/types.h>
-#include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/wait.h>
 #include <linux/pci.h>
-- 
1.7.12.4


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

* Re: [PATCH] misc: genwqe: remove duplicated include file
  2018-09-20  5:07 [PATCH] misc: genwqe: remove duplicated include file zhong jiang
@ 2018-11-12 11:29 ` haver
  0 siblings, 0 replies; 2+ messages in thread
From: haver @ 2018-11-12 11:29 UTC (permalink / raw)
  To: zhong jiang; +Cc: gregkh, gpiccoli, linux-kernel

On 2018-09-20 07:07, zhong jiang wrote:
> module.h has duplicated include. hence just remove
> redundant include file.
> 
> Signed-off-by: zhong jiang <zhongjiang@huawei.com>
> ---
>  drivers/misc/genwqe/card_base.c | 1 -
>  drivers/misc/genwqe/card_ddcb.c | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/drivers/misc/genwqe/card_base.c 
> b/drivers/misc/genwqe/card_base.c
> index c7cd367..d137d0fa 100644
> --- a/drivers/misc/genwqe/card_base.c
> +++ b/drivers/misc/genwqe/card_base.c
> @@ -24,7 +24,6 @@
>   * controlled from here.
>   */
> 
> -#include <linux/module.h>
>  #include <linux/types.h>
>  #include <linux/pci.h>
>  #include <linux/err.h>
> diff --git a/drivers/misc/genwqe/card_ddcb.c 
> b/drivers/misc/genwqe/card_ddcb.c
> index 656449c..9a65bd9 100644
> --- a/drivers/misc/genwqe/card_ddcb.c
> +++ b/drivers/misc/genwqe/card_ddcb.c
> @@ -27,7 +27,6 @@
>   */
> 
>  #include <linux/types.h>
> -#include <linux/module.h>
>  #include <linux/sched.h>
>  #include <linux/wait.h>
>  #include <linux/pci.h>

Signed-off-by: Frank Haverkamp <haver@linux.vnet.ibm.com>


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

end of thread, other threads:[~2018-11-12 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-20  5:07 [PATCH] misc: genwqe: remove duplicated include file zhong jiang
2018-11-12 11:29 ` haver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).