projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IPVS]: Fix compiler warning about unused register_ip_vs_protocol
[deliverable/linux.git]
/
net
/
ipv4
/
ipvs
/
ip_vs_proto.c
diff --git
a/net/ipv4/ipvs/ip_vs_proto.c
b/net/ipv4/ipvs/ip_vs_proto.c
index e844ddb82b9a9e20cdedaf886111cb21e0daf23e..c0e11ec8f0f991d7096ce0e44f1535eddd7e39b2 100644
(file)
--- a/
net/ipv4/ipvs/ip_vs_proto.c
+++ b/
net/ipv4/ipvs/ip_vs_proto.c
@@
-45,7
+45,7
@@
static struct ip_vs_protocol *ip_vs_proto_table[IP_VS_PROTO_TAB_SIZE];
/*
* register an ipvs protocol
*/
-static int register_ip_vs_protocol(struct ip_vs_protocol *pp)
+static int
__used
register_ip_vs_protocol(struct ip_vs_protocol *pp)
{
unsigned hash = IP_VS_PROTO_HASH(pp->protocol);
This page took
0.035727 seconds
and
5
git commands to generate.