crypto: nx - remove 842-nx null checks
authorDan Streetman <ddstreet@ieee.org>
Fri, 15 May 2015 15:07:33 +0000 (11:07 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 18 May 2015 04:20:17 +0000 (12:20 +0800)
commit9358eac06b8fcf9fcaf566ec825fc05e2b1acd10
treee1842775d89304d7329fcc94b8229f03b38c3bcd
parent42cb0c7bdf9ddd33b33d195414f9171e7fa7472c
crypto: nx - remove 842-nx null checks

Remove the null checks for tfm, src, slen, dst, dlen; tfm will never
be null and the other fields are always expected to be set correctly.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx-842-crypto.c