diff options
-rw-r--r-- | net/atm/clip.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/atm/clip.c b/net/atm/clip.c index d30167c0b48e..d45971bd286c 100644 --- a/net/atm/clip.c +++ b/net/atm/clip.c | |||
@@ -648,10 +648,6 @@ static int clip_inet_event(struct notifier_block *this, unsigned long event, | |||
648 | struct in_device *in_dev; | 648 | struct in_device *in_dev; |
649 | 649 | ||
650 | in_dev = ((struct in_ifaddr *)ifa)->ifa_dev; | 650 | in_dev = ((struct in_ifaddr *)ifa)->ifa_dev; |
651 | if (!in_dev || !in_dev->dev) { | ||
652 | printk(KERN_WARNING "clip_inet_event: no device\n"); | ||
653 | return NOTIFY_DONE; | ||
654 | } | ||
655 | /* | 651 | /* |
656 | * Transitions are of the down-change-up type, so it's sufficient to | 652 | * Transitions are of the down-change-up type, so it's sufficient to |
657 | * handle the change on up. | 653 | * handle the change on up. |