From: Rami Rosen Date: Wed, 2 Jan 2008 05:17:19 +0000 (-0800) Subject: [IPVS]: Remove declaration of unimplemented method and remove unused definition from... X-Git-Tag: v2.6.25-rc1~1162^2~884 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b950dfcf504842a0f2bb142a33ef938f1c00d300;p=linux-2.6 [IPVS]: Remove declaration of unimplemented method and remove unused definition from include/net/ip_vs.h In include/net/ip_vs.h: - The ip_vs_secure_tcp_set() method is not implemented anywhere. - IP_VS_APP_TYPE_FTP is an unused definition. Signed-off-by: Rami Rosen Signed-off-by: David S. Miller --- diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 8a7d59be8a..3de6d1e6af 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -676,7 +676,6 @@ extern const char *ip_vs_proto_name(unsigned proto); extern void ip_vs_init_hash_table(struct list_head *table, int rows); #define IP_VS_INIT_HASH_TABLE(t) ip_vs_init_hash_table(t, sizeof(t)/sizeof(t[0])) -#define IP_VS_APP_TYPE_UNSPEC 0 #define IP_VS_APP_TYPE_FTP 1 /* @@ -735,7 +734,6 @@ extern const char * ip_vs_state_name(__u16 proto, int state); extern void ip_vs_tcp_conn_listen(struct ip_vs_conn *cp); extern int ip_vs_check_template(struct ip_vs_conn *ct); -extern void ip_vs_secure_tcp_set(int on); extern void ip_vs_random_dropentry(void); extern int ip_vs_conn_init(void); extern void ip_vs_conn_cleanup(void);