Whamcloud - gitweb
LU-3963 libcfs: remove proc handler wrappers
[fs/lustre-release.git] / libcfs / include / libcfs / linux / linux-tcpip.h
index f0b7666..bec571a 100644 (file)
@@ -1,6 +1,4 @@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
  * GPL HEADER START
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -28,6 +26,8 @@
 /*
  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright (c) 2012, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -68,7 +68,6 @@
 
 typedef struct socket   cfs_socket_t;
 
-#define SOCK_SNDBUF(so)         ((so)->sk->sk_sndbuf)
 #define SOCK_TEST_NOSPACE(so)   test_bit(SOCK_NOSPACE, &(so)->flags)
 
 static inline int
@@ -82,12 +81,4 @@ libcfs_sock_wmem_queued(struct socket *sock)
 {
         return sock->sk->sk_wmem_queued;
 }
-
-#ifdef HAVE_INIT_NET
-#define DEFAULT_NET    (&init_net)
-#else
-/* some broken backports */
-#define DEFAULT_NET    (NULL)
-#endif
-
 #endif