]> Pileus Git - ~andy/linux/blobdiff - net/core/sock.c
[SPARC]: Remove SunOS and Solaris binary support.
[~andy/linux] / net / core / sock.c
index 54c836a2216b4dbbf9a5668c3ec29de71d21cc51..bf6f83e48e8700ba576c0e6a3922f70ffc07dcb4 100644 (file)
@@ -450,15 +450,6 @@ int sock_setsockopt(struct socket *sock, int level, int optname,
         *      Options without arguments
         */
 
-#ifdef SO_DONTLINGER           /* Compatibility item... */
-       if (optname == SO_DONTLINGER) {
-               lock_sock(sk);
-               sock_reset_flag(sk, SOCK_LINGER);
-               release_sock(sk);
-               return 0;
-       }
-#endif
-
        if (optname == SO_BINDTODEVICE)
                return sock_bindtodevice(sk, optval, optlen);