diff options
author | Greg Rose <gregory.v.rose@intel.com> | 2010-10-15 13:26:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-18 10:54:29 -0400 |
commit | a7714338aa9332e569b38c7643dc4a7bb37a0ff5 (patch) | |
tree | edc0b1cbe8628096d15770da8db0d945690ee57b /drivers/net/igbvf | |
parent | 12dcd86b75d571772512676ab301279952efc0b0 (diff) |
igbvf: Remove unneeded pm_qos* calls
Power Management Quality of Service is not supported or used by the VF
driver.
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igbvf')
-rw-r--r-- | drivers/net/igbvf/netdev.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/igbvf/netdev.c b/drivers/net/igbvf/netdev.c index 265501348f33..6693323a6cf5 100644 --- a/drivers/net/igbvf/netdev.c +++ b/drivers/net/igbvf/netdev.c | |||
@@ -41,14 +41,12 @@ | |||
41 | #include <linux/mii.h> | 41 | #include <linux/mii.h> |
42 | #include <linux/ethtool.h> | 42 | #include <linux/ethtool.h> |
43 | #include <linux/if_vlan.h> | 43 | #include <linux/if_vlan.h> |
44 | #include <linux/pm_qos_params.h> | ||
45 | 44 | ||
46 | #include "igbvf.h" | 45 | #include "igbvf.h" |
47 | 46 | ||
48 | #define DRV_VERSION "1.0.0-k0" | 47 | #define DRV_VERSION "1.0.0-k0" |
49 | char igbvf_driver_name[] = "igbvf"; | 48 | char igbvf_driver_name[] = "igbvf"; |
50 | const char igbvf_driver_version[] = DRV_VERSION; | 49 | const char igbvf_driver_version[] = DRV_VERSION; |
51 | static struct pm_qos_request_list igbvf_driver_pm_qos_req; | ||
52 | static const char igbvf_driver_string[] = | 50 | static const char igbvf_driver_string[] = |
53 | "Intel(R) Virtual Function Network Driver"; | 51 | "Intel(R) Virtual Function Network Driver"; |
54 | static const char igbvf_copyright[] = "Copyright (c) 2009 Intel Corporation."; | 52 | static const char igbvf_copyright[] = "Copyright (c) 2009 Intel Corporation."; |
@@ -2904,8 +2902,6 @@ static int __init igbvf_init_module(void) | |||
2904 | printk(KERN_INFO "%s\n", igbvf_copyright); | 2902 | printk(KERN_INFO "%s\n", igbvf_copyright); |
2905 | 2903 | ||
2906 | ret = pci_register_driver(&igbvf_driver); | 2904 | ret = pci_register_driver(&igbvf_driver); |
2907 | pm_qos_add_request(&igbvf_driver_pm_qos_req, PM_QOS_CPU_DMA_LATENCY, | ||
2908 | PM_QOS_DEFAULT_VALUE); | ||
2909 | 2905 | ||
2910 | return ret; | 2906 | return ret; |
2911 | } | 2907 | } |
@@ -2920,7 +2916,6 @@ module_init(igbvf_init_module); | |||
2920 | static void __exit igbvf_exit_module(void) | 2916 | static void __exit igbvf_exit_module(void) |
2921 | { | 2917 | { |
2922 | pci_unregister_driver(&igbvf_driver); | 2918 | pci_unregister_driver(&igbvf_driver); |
2923 | pm_qos_remove_request(&igbvf_driver_pm_qos_req); | ||
2924 | } | 2919 | } |
2925 | module_exit(igbvf_exit_module); | 2920 | module_exit(igbvf_exit_module); |
2926 | 2921 | ||