netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: Remove remaining remnants of pm_qos from netdevice.h
@ 2015-05-09 22:21 David Ahern
  2015-05-11 17:11 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: David Ahern @ 2015-05-09 22:21 UTC (permalink / raw)
  To: netdev; +Cc: David Ahern, Thomas Graf

Commit e2c6544829f removed pm_qos from struct net_device but left the
comment above header file. Remove those.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Thomas Graf <tgraf@suug.ch>
---
 include/linux/netdevice.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 1899c74a7127..05b9a694e213 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -25,7 +25,6 @@
 #ifndef _LINUX_NETDEVICE_H
 #define _LINUX_NETDEVICE_H
 
-#include <linux/pm_qos.h>
 #include <linux/timer.h>
 #include <linux/bug.h>
 #include <linux/delay.h>
@@ -1499,8 +1498,6 @@ enum netdev_priv_flags {
  *
  *	@qdisc_tx_busylock:	XXX: need comments on this one
  *
- *	@pm_qos_req:	Power Management QoS object
- *
  *	FIXME: cleanup struct net_device such that network protocol info
  *	moves out.
  */
-- 
2.2.1

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

* Re: [PATCH] net: Remove remaining remnants of pm_qos from netdevice.h
  2015-05-09 22:21 [PATCH] net: Remove remaining remnants of pm_qos from netdevice.h David Ahern
@ 2015-05-11 17:11 ` David Miller
  2015-05-11 17:26   ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2015-05-11 17:11 UTC (permalink / raw)
  To: dsahern; +Cc: netdev, tgraf

From: David Ahern <dsahern@gmail.com>
Date: Sat,  9 May 2015 16:21:43 -0600

> Commit e2c6544829f removed pm_qos from struct net_device but left the
> comment above header file. Remove those.
> 
> Signed-off-by: David Ahern <dsahern@gmail.com>

Applied, thanks David.

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

* Re: [PATCH] net: Remove remaining remnants of pm_qos from netdevice.h
  2015-05-11 17:11 ` David Miller
@ 2015-05-11 17:26   ` David Miller
  2015-05-11 17:27     ` David Ahern
  0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2015-05-11 17:26 UTC (permalink / raw)
  To: dsahern; +Cc: netdev, tgraf

From: David Miller <davem@davemloft.net>
Date: Mon, 11 May 2015 13:11:06 -0400 (EDT)

> From: David Ahern <dsahern@gmail.com>
> Date: Sat,  9 May 2015 16:21:43 -0600
> 
>> Commit e2c6544829f removed pm_qos from struct net_device but left the
>> comment above header file. Remove those.
>> 
>> Signed-off-by: David Ahern <dsahern@gmail.com>
> 
> Applied, thanks David.

Actually I had to revert as this breaks the build.

You will need to submit another patch with this one, one that adds an
include of <linux/pm_qos.h> to drivers/net/ethernet/intel/e1000e/e1000.h

In file included from drivers/net/ethernet/intel/e1000e/82571.c:38:0:
drivers/net/ethernet/intel/e1000e/e1000.h:346:24: error: field ‘pm_qos_req’ has incomplete type
  struct pm_qos_request pm_qos_req;
                        ^

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

* Re: [PATCH] net: Remove remaining remnants of pm_qos from netdevice.h
  2015-05-11 17:26   ` David Miller
@ 2015-05-11 17:27     ` David Ahern
  0 siblings, 0 replies; 4+ messages in thread
From: David Ahern @ 2015-05-11 17:27 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, tgraf

On 5/11/15 11:26 AM, David Miller wrote:
> From: David Miller <davem@davemloft.net>
> Date: Mon, 11 May 2015 13:11:06 -0400 (EDT)
>
>> From: David Ahern <dsahern@gmail.com>
>> Date: Sat,  9 May 2015 16:21:43 -0600
>>
>>> Commit e2c6544829f removed pm_qos from struct net_device but left the
>>> comment above header file. Remove those.
>>>
>>> Signed-off-by: David Ahern <dsahern@gmail.com>
>>
>> Applied, thanks David.
>
> Actually I had to revert as this breaks the build.
>
> You will need to submit another patch with this one, one that adds an
> include of <linux/pm_qos.h> to drivers/net/ethernet/intel/e1000e/e1000.h
>
> In file included from drivers/net/ethernet/intel/e1000e/82571.c:38:0:
> drivers/net/ethernet/intel/e1000e/e1000.h:346:24: error: field ‘pm_qos_req’ has incomplete type
>    struct pm_qos_request pm_qos_req;
>                          ^
>

crap. I did a VM build with virtio only. Will redo.

David

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

end of thread, other threads:[~2015-05-11 17:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-09 22:21 [PATCH] net: Remove remaining remnants of pm_qos from netdevice.h David Ahern
2015-05-11 17:11 ` David Miller
2015-05-11 17:26   ` David Miller
2015-05-11 17:27     ` David Ahern

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