Skip to content

Commit b950dfc

Browse files
ramirosendavem330
authored andcommitted
[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 <ramirose@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b798232 commit b950dfc

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎include/net/ip_vs.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,6 @@ extern const char *ip_vs_proto_name(unsigned proto);
676676
extern void ip_vs_init_hash_table(struct list_head *table, int rows);
677677
#define IP_VS_INIT_HASH_TABLE(t) ip_vs_init_hash_table(t, sizeof(t)/sizeof(t[0]))
678678

679-
#define IP_VS_APP_TYPE_UNSPEC 0
680679
#define IP_VS_APP_TYPE_FTP 1
681680

682681
/*
@@ -735,7 +734,6 @@ extern const char * ip_vs_state_name(__u16 proto, int state);
735734

736735
extern void ip_vs_tcp_conn_listen(struct ip_vs_conn *cp);
737736
extern int ip_vs_check_template(struct ip_vs_conn *ct);
738-
extern void ip_vs_secure_tcp_set(int on);
739737
extern void ip_vs_random_dropentry(void);
740738
extern int ip_vs_conn_init(void);
741739
extern void ip_vs_conn_cleanup(void);

0 commit comments

Comments
 (0)