diff options
Diffstat (limited to 'drivers/pcmcia/yenta.c')
-rw-r--r-- | drivers/pcmcia/yenta.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pcmcia/yenta.c b/drivers/pcmcia/yenta.c index 294895733..857e8f043 100644 --- a/drivers/pcmcia/yenta.c +++ b/drivers/pcmcia/yenta.c @@ -786,10 +786,8 @@ static int yenta_open(pci_socket_t *socket) /* * Do some basic sanity checking.. */ - if (pci_enable_device(dev)) { - printk("Unable to enable device\n"); + if (pci_enable_device(dev)) return -1; - } if (!dev->resource[0].start) { printk("No cardbus resource!\n"); return -1; |