Delete the unreferenced header file include/linux/if_wanpipe_common.h,
as well as the reference to it in the Doc file.

Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]>

---

  there is a related header file, linux/if_wanpipe.h, that is unused
in the source tree but is still exported to userspace.  if that file
is also unnecessary, i can resubmit the patch to take out both of
them.


 Documentation/networking/wan-router.txt |    1
 include/linux/if_wanpipe_common.h       |   58 ----------------------
 2 files changed, 59 deletions(-)

diff --git a/Documentation/networking/wan-router.txt 
b/Documentation/networking/wan-router.txt
index 653978d..07dd6d9 100644
--- a/Documentation/networking/wan-router.txt
+++ b/Documentation/networking/wan-router.txt
@@ -250,7 +250,6 @@ PRODUCT COMPONENTS AND RELATED FILES
        sdladrv.h       SDLA support module API definitions
        sdlasfm.h       SDLA firmware module definitions
        if_wanpipe.h    WANPIPE Socket definitions
-       if_wanpipe_common.h     WANPIPE Socket/Driver common definitions.
        sdlapci.h       WANPIPE PCI definitions


diff --git a/include/linux/if_wanpipe_common.h 
b/include/linux/if_wanpipe_common.h
deleted file mode 100644
index 6e5461d..0000000
--- a/include/linux/if_wanpipe_common.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*****************************************************************************
-* if_wanipe_common.h   Sangoma Driver/Socket common area definitions.
-*
-* Author:       Nenad Corbic <[EMAIL PROTECTED]>
-*
-* Copyright:    (c) 2000 Sangoma Technologies Inc.
-*
-*               This program is free software; you can redistribute it and/or
-*               modify it under the terms of the GNU General Public License
-*               as published by the Free Software Foundation; either version
-*               2 of the License, or (at your option) any later version.
-* ============================================================================
-* Jan 13, 2000  Nenad Corbic      Initial version
-*****************************************************************************/
-
-
-#ifndef _WANPIPE_SOCK_DRIVER_COMMON_H
-#define _WANPIPE_SOCK_DRIVER_COMMON_H
-
-typedef struct {
-       struct net_device *slave;
-       atomic_t packet_sent;
-       atomic_t receive_block;
-       atomic_t command;
-       atomic_t disconnect;
-       atomic_t driver_busy;
-       long common_critical;
-       struct timer_list *tx_timer;
-       struct sock *sk;                /* Wanpipe Sock bind's here */
-       int (*func)(struct sk_buff *skb, struct net_device *dev,
-                   struct sock *sk);
-
-       struct work_struct wanpipe_work;    /* deferred keventd work */
-       unsigned char rw_bind;                    /* Sock bind state */
-       unsigned char usedby;
-       unsigned char state;
-       unsigned char svc;
-       unsigned short lcn;
-       void *mbox;
-} wanpipe_common_t;
-
-
-enum {
-       WANSOCK_UNCONFIGURED,   /* link/channel is not configured */
-       WANSOCK_DISCONNECTED,   /* link/channel is disconnected */
-       WANSOCK_CONNECTING,             /* connection is in progress */
-       WANSOCK_CONNECTED,              /* link/channel is operational */
-       WANSOCK_LIMIT,          /* for verification only */
-       WANSOCK_DUALPORT,               /* for Dual Port cards */
-       WANSOCK_DISCONNECTING,
-       WANSOCK_BINDED,
-       WANSOCK_BIND_LISTEN,
-       WANSOCK_LISTEN
-};
-
-#endif
-
-
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to