Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1466331 > unrolled thread

[PATCH] usb: chipidea: delete an useless header file

Started byJisheng Zhang <jszhang@marvell.com>
First post2016-08-19 14:20 +0200
Last post2016-08-19 14:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] usb: chipidea: delete an useless header file Jisheng Zhang <jszhang@marvell.com> - 2016-08-19 14:20 +0200
    Re: [PATCH] usb: chipidea: delete an useless header file Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-08-19 14:40 +0200

#1466331 — [PATCH] usb: chipidea: delete an useless header file

FromJisheng Zhang <jszhang@marvell.com>
Date2016-08-19 14:20 +0200
Subject[PATCH] usb: chipidea: delete an useless header file
Message-ID<s7QWd-5wf-23@gated-at.bofh.it>
<linux/phy.h> is for net phy drivers, we don't need it.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
---
 drivers/usb/chipidea/core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 69426e6..ae12595 100644
--- a/drivers/usb/chipidea/core.c
+++ b/drivers/usb/chipidea/core.c
@@ -62,7 +62,6 @@
 #include <linux/usb/chipidea.h>
 #include <linux/usb/of.h>
 #include <linux/of.h>
-#include <linux/phy.h>
 #include <linux/regulator/consumer.h>
 #include <linux/usb/ehci_def.h>
 
-- 
2.9.3

[toc] | [next] | [standalone]


#1466338

FromSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date2016-08-19 14:40 +0200
Message-ID<s7Rfz-5Cv-3@gated-at.bofh.it>
In reply to#1466331
Hello.

On 8/19/2016 3:05 PM, Jisheng Zhang wrote:

> <linux/phy.h> is for net phy drivers, we don't need it.
>
> Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
> ---
>  drivers/usb/chipidea/core.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
> index 69426e6..ae12595 100644
> --- a/drivers/usb/chipidea/core.c
> +++ b/drivers/usb/chipidea/core.c
> @@ -62,7 +62,6 @@
>  #include <linux/usb/chipidea.h>
>  #include <linux/usb/of.h>
>  #include <linux/of.h>
> -#include <linux/phy.h>
>  #include <linux/regulator/consumer.h>
>  #include <linux/usb/ehci_def.h>

    You're deleting an #include, not a file (as you say in the subject).

MBR, Sergei

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web