]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/appletalk/ddp.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6
[mv-sheeva.git] / net / appletalk / ddp.c
index c3f0027173789c56ef5af3ef9a98536449e0b7e1..5abce07fb50a195b1f280af8dbe588e2fefc2d6c 100644 (file)
@@ -815,9 +815,6 @@ static int atif_ioctl(int cmd, void __user *arg)
                                return -EPERM;
                        if (sa->sat_family != AF_APPLETALK)
                                return -EINVAL;
-                       if (!atif)
-                               return -EADDRNOTAVAIL;
-
                        /*
                         * for now, we only support proxy AARP on ELAP;
                         * we should be able to do it for LocalTalk, too.