summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2011-04-09 04:49:08 +0200
committerJiri Kosina <jkosina@suse.cz>2011-04-10 17:01:05 +0200
commit6eab04a87677a37cf15b52e2b4b4fd57917102ad (patch)
treedc92e25473e7e5c9183312d7feeeaeabb2157baf /net
parentsysfs-memory: fix uninitialized variable warning and clean-up code. (diff)
downloadlinux-6eab04a87677a37cf15b52e2b4b4fd57917102ad.tar.xz
linux-6eab04a87677a37cf15b52e2b4b4fd57917102ad.zip
treewide: remove extra semicolons
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/ipset/ip_set_bitmap_ip.c2
-rw-r--r--net/sunrpc/addr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/ipset/ip_set_bitmap_ip.c b/net/netfilter/ipset/ip_set_bitmap_ip.c
index bca96990218d..cc2992299e74 100644
--- a/net/netfilter/ipset/ip_set_bitmap_ip.c
+++ b/net/netfilter/ipset/ip_set_bitmap_ip.c
@@ -293,7 +293,7 @@ bitmap_ip_uadt(struct ip_set *set, struct nlattr *tb[],
for (; !before(ip_to, ip); ip += map->hosts) {
id = ip_to_id(map, ip);
- ret = adtfn(set, &id, timeout);;
+ ret = adtfn(set, &id, timeout);
if (ret && !ip_set_eexist(ret, flags))
return ret;
diff --git a/net/sunrpc/addr.c b/net/sunrpc/addr.c
index 1419d0cdbbac..4195233c4914 100644
--- a/net/sunrpc/addr.c
+++ b/net/sunrpc/addr.c
@@ -151,7 +151,7 @@ static size_t rpc_pton4(const char *buf, const size_t buflen,
return 0;
sin->sin_family = AF_INET;
- return sizeof(struct sockaddr_in);;
+ return sizeof(struct sockaddr_in);
}
#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)