From: Yijing Wang Date: Tue, 18 Jun 2013 08:05:39 +0000 (+0800) Subject: Bnx2x: remove redundant D0 power state set X-Git-Tag: v3.11-rc1~16^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8a39dd292af453f42ebcdbad229f7d9d1282ec2;p=pandora-kernel.git Bnx2x: remove redundant D0 power state set Pci_enable_device() will set device power state to D0, so it's no need to do it again in bnx2x_init_dev(). Also remove redundant PM Cap find code, because pci core has been saved the pci device pm cap value. Signed-off-by: Yijing Wang Cc: Eilon Greenstein Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Acked-by: Yuval Mintz Signed-off-by: David S. Miller --- Reading git-diff-tree failed