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

From: Carl Spalletta
Date: Sun Jul 18 2004 - 14:51:49 EST


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);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/