Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306948
b: refs/heads/master
c: 7664810
h: refs/heads/master
v: v3
  • Loading branch information
Marek Marczykowski authored and David S. Miller committed May 22, 2012
1 parent 2484da5 commit 68eab2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3719a1ef52eb1aadf77b7557cc9ca08124d8818
refs/heads/master: 76648102cfabc586ce1e9d0c4ebba2000e7b1ca0
6 changes: 0 additions & 6 deletions trunk/drivers/net/xen-netfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -1962,9 +1962,6 @@ static int __init netif_init(void)
if (!xen_domain())
return -ENODEV;

if (xen_initial_domain())
return 0;

if (xen_hvm_domain() && !xen_platform_pci_unplug)
return -ENODEV;

Expand All @@ -1977,9 +1974,6 @@ module_init(netif_init);

static void __exit netif_exit(void)
{
if (xen_initial_domain())
return;

xenbus_unregister_driver(&netfront_driver);
}
module_exit(netif_exit);
Expand Down

0 comments on commit 68eab2e

Please sign in to comment.