Messages in this thread | | | Date | Tue, 31 May 2016 18:18:52 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH 1/2] lib/mpi: mpi_read_raw_data(): purge redundant clearing of nbits |
| |
On Thu, May 26, 2016 at 01:05:31PM +0200, Nicolai Stange wrote: > In mpi_read_raw_data(), unsigned nbits is calculated as follows: > > nbits = nbytes * 8; > > and redundantly cleared later on if nbytes == 0: > > if (nbytes > 0) > ... > else > nbits = 0; > > Purge this redundant clearing for the sake of clarity. > > Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Both applied. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |