crypto: drbg - simplify ordering of linked list in drbg_ctr_df
authorStephan Mueller <smueller@chronox.de>
Mon, 23 Jun 2014 07:11:29 +0000 (09:11 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 26 Jun 2014 06:46:31 +0000 (14:46 +0800)
commitc0eedf803467620fd3bdafccdd761990f6bd42e1
tree614b96364e374909364275a04b7fbb4a57e3ed1f
parentde18cd4b71acecbd1278a7bb79340cbf885212aa
crypto: drbg - simplify ordering of linked list in drbg_ctr_df

As reported by a static code analyzer, the code for the ordering of
the linked list can be simplified.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/drbg.c