aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/ibm/emac/mal.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/ethernet/ibm/emac/mal.c b/drivers/net/ethernet/ibm/emac/mal.c
index 479e43e2f1ef..84c6b6cf9c14 100644
--- a/drivers/net/ethernet/ibm/emac/mal.c
+++ b/drivers/net/ethernet/ibm/emac/mal.c
@@ -738,13 +738,11 @@ static int __devexit mal_remove(struct platform_device *ofdev)
738 /* Synchronize with scheduled polling */ 738 /* Synchronize with scheduled polling */
739 napi_disable(&mal->napi); 739 napi_disable(&mal->napi);
740 740
741 if (!list_empty(&mal->list)) { 741 if (!list_empty(&mal->list))
742 /* This is *very* bad */ 742 /* This is *very* bad */
743 printk(KERN_EMERG 743 WARN(1, KERN_EMERG
744 "mal%d: commac list is not empty on remove!\n", 744 "mal%d: commac list is not empty on remove!\n",
745 mal->index); 745 mal->index);
746 WARN_ON(1);
747 }
748 746
749 dev_set_drvdata(&ofdev->dev, NULL); 747 dev_set_drvdata(&ofdev->dev, NULL);
750 748