Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752874AbbDCO2U (ORCPT ); Fri, 3 Apr 2015 10:28:20 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:33318 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752352AbbDCO2S (ORCPT ); Fri, 3 Apr 2015 10:28:18 -0400 From: Konrad Rzeszutek Wilk To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, david.vrabel@citrix.com, boris.ostrovsky@oracle.com Cc: Konrad Rzeszutek Wilk Subject: [PATCH 2/2] xen/pciback: Remove is_busmaster=0 as pci_disable_device does it already Date: Fri, 3 Apr 2015 10:28:09 -0400 Message-Id: <1428071289-11995-3-git-send-email-konrad.wilk@oracle.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1428071289-11995-1-git-send-email-konrad.wilk@oracle.com> References: <1428071289-11995-1-git-send-email-konrad.wilk@oracle.com> X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 901 Lines: 28 There is no need for this. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/xen-pciback/pciback_ops.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/xen/xen-pciback/pciback_ops.c b/drivers/xen/xen-pciback/pciback_ops.c index 26e6513..a131733 100644 --- a/drivers/xen/xen-pciback/pciback_ops.c +++ b/drivers/xen/xen-pciback/pciback_ops.c @@ -118,8 +118,6 @@ void xen_pcibk_reset_device(struct pci_dev *dev) #endif if (pci_is_enabled(dev)) pci_disable_device(dev); - - dev->is_busmaster = 0; } else { pci_read_config_word(dev, PCI_COMMAND, &cmd); if (cmd & (PCI_COMMAND_INVALIDATE)) { -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/