netdev
[Top] [All Lists]

[PATCH] Remove prototypes of nonexistent functions from net/atm files

To: lkml <linux-kernel@xxxxxxxxxxxxxxx>
Subject: [PATCH] Remove prototypes of nonexistent functions from net/atm files
From: Carl Spalletta <cspalletta@xxxxxxxxx>
Date: Sun, 18 Jul 2004 12:50:30 -0700 (PDT)
Cc: netdev@xxxxxxxxxxx, chas@xxxxxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
diff -ru linux-2.6.7-orig/net/atm/common.h linux-2.6.7-new/net/atm/common.h
--- linux-2.6.7-orig/net/atm/common.h   2004-06-15 22:19:43.000000000 -0700
+++ linux-2.6.7-new/net/atm/common.h    2004-07-18 08:52:50.000000000 -0700
@@ -24,11 +24,6 @@
 int vcc_getsockopt(struct socket *sock, int level, int optname,
                   char __user *optval, int __user *optlen);

-void atm_shutdown_dev(struct atm_dev *dev);
-
-void pppoatm_ioctl_set(int (*hook)(struct atm_vcc *, unsigned int, unsigned 
long));
-void br2684_ioctl_set(int (*hook)(struct atm_vcc *, unsigned int, unsigned 
long));
-
 int atmpvc_init(void);
 void atmpvc_exit(void);
 int atmsvc_init(void);
@@ -50,12 +45,6 @@
 #endif /* CONFIG_PROC_FS */

 /* SVC */
-
-void svc_callback(struct atm_vcc *vcc);
 int svc_change_qos(struct atm_vcc *vcc,struct atm_qos *qos);

-/* p2mp */
-
-int create_leaf(struct socket *leaf,struct socket *session);
-
 #endif
diff -ru linux-2.6.7-orig/net/atm/lec.h linux-2.6.7-new/net/atm/lec.h
--- linux-2.6.7-orig/net/atm/lec.h      2004-06-15 22:19:10.000000000 -0700
+++ linux-2.6.7-new/net/atm/lec.h       2004-07-18 08:50:35.000000000 -0700
@@ -151,7 +151,6 @@
 int lec_vcc_attach(struct atm_vcc *vcc, void __user *arg);
 int lec_mcast_attach(struct atm_vcc *vcc, int arg);
 struct net_device *get_dev_lec(int itf);
-int make_lec(struct atm_vcc *vcc);
 int send_to_lecd(struct lec_priv *priv,
                  atmlec_msg_type type, unsigned char *mac_addr,
                  unsigned char *atm_addr, struct sk_buff *data);


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Remove prototypes of nonexistent functions from net/atm files, Carl Spalletta <=