crypto: sha-mb - remove a bogus NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 22 Nov 2014 18:36:28 +0000 (21:36 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 25 Nov 2014 14:50:43 +0000 (22:50 +0800)
commit5d1b3c98ec2015036349c57289711f26c2d5fe01
treef478eb063f2b7e7a1baea4a7ccdef3754afc9be7
parentb1c9952afeae3e7da798ca08cab0e97caaba0706
crypto: sha-mb - remove a bogus NULL check

This can't be NULL and we dereferenced it earlier.  Smatch used to
ignore these things where the pointer was obviously non-NULL but I've
found that sometimes the intention was to check something else so we
were maybe missing bugs.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Tim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/sha-mb/sha1_mb.c