diff options
Diffstat (limited to 'drivers/net/ethernet/ethoc.c')
-rw-r--r-- | drivers/net/ethernet/ethoc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet/ethoc.c index 388c592b5ef5..0b723ff2294b 100644 --- a/drivers/net/ethernet/ethoc.c +++ b/drivers/net/ethernet/ethoc.c | |||
@@ -913,7 +913,6 @@ static int __devinit ethoc_probe(struct platform_device *pdev) | |||
913 | /* allocate networking device */ | 913 | /* allocate networking device */ |
914 | netdev = alloc_etherdev(sizeof(struct ethoc)); | 914 | netdev = alloc_etherdev(sizeof(struct ethoc)); |
915 | if (!netdev) { | 915 | if (!netdev) { |
916 | dev_err(&pdev->dev, "cannot allocate network device\n"); | ||
917 | ret = -ENOMEM; | 916 | ret = -ENOMEM; |
918 | goto out; | 917 | goto out; |
919 | } | 918 | } |