diff options
Diffstat (limited to 'drivers/net/can/sja1000/peak_pcmcia.c')
-rw-r--r-- | drivers/net/can/sja1000/peak_pcmcia.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/sja1000/peak_pcmcia.c b/drivers/net/can/sja1000/peak_pcmcia.c index f1175142b0a0..1a7020ba37f5 100644 --- a/drivers/net/can/sja1000/peak_pcmcia.c +++ b/drivers/net/can/sja1000/peak_pcmcia.c | |||
@@ -660,7 +660,6 @@ static int pcan_probe(struct pcmcia_device *pdev) | |||
660 | 660 | ||
661 | card = kzalloc(sizeof(struct pcan_pccard), GFP_KERNEL); | 661 | card = kzalloc(sizeof(struct pcan_pccard), GFP_KERNEL); |
662 | if (!card) { | 662 | if (!card) { |
663 | dev_err(&pdev->dev, "couldn't allocate card memory\n"); | ||
664 | err = -ENOMEM; | 663 | err = -ENOMEM; |
665 | goto probe_err_2; | 664 | goto probe_err_2; |
666 | } | 665 | } |