Patchwork [net-next] inet: frag , remove an empty ifdef.

login
register
mail settings
Submitter Rami Rosen
Date June 15, 2013, 8:04 p.m.
Message ID <1371326696-32561-1-git-send-email-ramirose@gmail.com>
Download mbox | patch
Permalink /patch/251636/
State Accepted
Delegated to: David Miller
Headers show

Comments

Rami Rosen - June 15, 2013, 8:04 p.m.
This patch removes an empty ifdef from inet_frag_intern()
in net/ipv4/inet_fragment.c.

commit b67bfe0d42cac56c512dd5da4b1b347a23f4b70a
(hlist: drop the node parameter from iterators) removed hlist from
net/ipv4/inet_fragment.c, but did not remove the enclosing ifdef command,
which is now empty.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 net/ipv4/inet_fragment.c | 2 --
 1 file changed, 2 deletions(-)
David Miller - June 20, 2013, 6:07 a.m.
From: Rami Rosen <ramirose@gmail.com>
Date: Sat, 15 Jun 2013 23:04:56 +0300

> This patch removes an empty ifdef from inet_frag_intern()
> in net/ipv4/inet_fragment.c.
> 
> commit b67bfe0d42cac56c512dd5da4b1b347a23f4b70a
> (hlist: drop the node parameter from iterators) removed hlist from
> net/ipv4/inet_fragment.c, but did not remove the enclosing ifdef command,
> which is now empty.
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/net/ipv4/inet_fragment.c b/net/ipv4/inet_fragment.c
index 7e06641..4b86443 100644
--- a/net/ipv4/inet_fragment.c
+++ b/net/ipv4/inet_fragment.c
@@ -247,8 +247,6 @@  static struct inet_frag_queue *inet_frag_intern(struct netns_frags *nf,
 {
 	struct inet_frag_bucket *hb;
 	struct inet_frag_queue *qp;
-#ifdef CONFIG_SMP
-#endif
 	unsigned int hash;
 
 	read_lock(&f->lock); /* Protects against hash rebuild */