Commit 928497f0209027ccd649480a38a499fab9c3f6f6
Committed by
David S. Miller
1 parent
3b2eb6131e
Exists in
master
and in
7 other branches
xfrm_user: avoid a warning with some compiler
Attached is a small patch to remove a warning ("warning: ISO C90 forbids mixed declarations and code" with gcc 4.3.2). Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
net/xfrm/xfrm_user.c
... | ... | @@ -1801,7 +1801,7 @@ |
1801 | 1801 | struct xfrm_user_expire *ue = nlmsg_data(nlh); |
1802 | 1802 | struct xfrm_usersa_info *p = &ue->state; |
1803 | 1803 | struct xfrm_mark m; |
1804 | - u32 mark = xfrm_mark_get(attrs, &m);; | |
1804 | + u32 mark = xfrm_mark_get(attrs, &m); | |
1805 | 1805 | |
1806 | 1806 | x = xfrm_state_lookup(net, mark, &p->id.daddr, p->id.spi, p->id.proto, p->family); |
1807 | 1807 |