Skip to content

Commit

Permalink
datapath: stt: Remove unused if statement in function stt_cleanup().
Browse files Browse the repository at this point in the history
Signed-off-by: Yunjian Wang <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
Reviewed-by: Greg Rose <[email protected]>
  • Loading branch information
wyjwang authored and blp committed Sep 7, 2018
1 parent 34b1695 commit 3869435
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions datapath/linux/compat/stt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1706,9 +1706,6 @@ static void stt_cleanup(struct net *net)
int i;

sn->n_tunnels--;
if (sn->n_tunnels)
goto out;
out:
n_tunnels--;
if (n_tunnels)
return;
Expand Down

0 comments on commit 3869435

Please sign in to comment.