crypto: scatterwalk - Remove unnecessary BUG in scatterwalk_start
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 12 Jul 2016 05:17:59 +0000 (13:17 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 18 Jul 2016 09:35:50 +0000 (17:35 +0800)
commit2ee732d57496b8365819dfb958bc1ff04fcd4cac
tree4055b6a618c12bd2e515288ff782ee1efd809b39
parent28cf86fafdd663cfcad3c5a5fe9869f1fa01b472
crypto: scatterwalk - Remove unnecessary BUG in scatterwalk_start

Nothing bad will happen even if sg->length is zero, so there is
no point in keeping this BUG_ON in scatterwalk_start.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/scatterwalk.c