diff options
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 04e74f485714..d5d0ab810f79 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -1534,7 +1534,7 @@ struct pci_bus * pci_create_bus(struct device *parent, | |||
1534 | return NULL; | 1534 | return NULL; |
1535 | 1535 | ||
1536 | dev = kzalloc(sizeof(*dev), GFP_KERNEL); | 1536 | dev = kzalloc(sizeof(*dev), GFP_KERNEL); |
1537 | if (!dev){ | 1537 | if (!dev) { |
1538 | kfree(b); | 1538 | kfree(b); |
1539 | return NULL; | 1539 | return NULL; |
1540 | } | 1540 | } |