Skip to content

Commit

Permalink
crypto: keywrap - Remove else after break statement
Browse files Browse the repository at this point in the history
Remove the else because the if statement has a break statement. Fix the
checkpatch.pl warning.

Signed-off-by: Milan Djurovic <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Milan Djurovic authored and herbertx committed Apr 2, 2021
1 parent 5377265 commit c29da97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/keywrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ static void crypto_kw_scatterlist_ff(struct scatter_walk *walk,
scatterwalk_start(walk, sg);
scatterwalk_advance(walk, skip);
break;
} else
skip -= sg->length;
}

skip -= sg->length;
sg = sg_next(sg);
}
}
Expand Down

0 comments on commit c29da97

Please sign in to comment.