- Remove some junk code which does nothing but crash
authorCameron Gutman <aicommander@gmail.com>
Fri, 30 Oct 2009 23:39:13 +0000 (23:39 +0000)
committerCameron Gutman <aicommander@gmail.com>
Fri, 30 Oct 2009 23:39:13 +0000 (23:39 +0000)
svn path=/trunk/; revision=43859

reactos/lib/drivers/oskittcp/oskittcp/uipc_socket.c

index 1472f94..2bd3c7a 100644 (file)
@@ -824,19 +824,6 @@ soshutdown(so, how)
        register struct socket *so;
        register int how;
 {
-    if (so == NULL)
-    {
-       register struct protosw *pr = NULL;
-
-       how++;
-       if (how & FREAD)
-               sorflush(so);
-       if (how & FWRITE)
-               return ((*pr->pr_usrreq)(so, PRU_SHUTDOWN,
-                   (struct mbuf *)0, (struct mbuf *)0, (struct mbuf *)0));
-       return (0);
-    }
-
        register struct protosw *pr = so->so_proto;
 
        how++;