e1000e: Cleanup qos request in error handling of e1000_open
authorJia-Ju Bai <baijiaju1990@163.com>
Thu, 4 Jun 2015 13:07:27 +0000 (21:07 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 23 Jul 2015 12:03:59 +0000 (05:03 -0700)
commit7faae96421870ed990b0a84797c6b2377e81d079
treef2f122201520bed123ca918e2cb4bb700ed30692
parent9cba434f630a972b47327ae3d014445033166206
e1000e: Cleanup qos request in error handling of e1000_open

The driver lacks pm_qos_remove_request in error handling (err_req_irq) of
e1000_open, and qos request inserted by pm_qos_add_request is not removed.
This patch add pm_qos_remove_request in error handling to fix it.

Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c