diff options
author | Dan Carpenter <[email protected]> | 2010-05-03 11:08:15 +0800 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2010-05-03 11:08:15 +0800 |
commit | c614e109c184edd7900d9ff4d6de9ef94bc4d85b (patch) | |
tree | c530116b73f23feddb795142f36042e2f33ee781 /lib/string_helpers.c | |
parent | 99700716a9b2e117fd50c6d3f1fd5edeef6dc6d2 (diff) |
crypto: algapi - Remove unneeded null check
We don't check "frontend" consistently in crypto_init_spawn2(). We
check it at the start of the function but then we dereference it
unconditionally in the parameter list when we call crypto_init_spawn().
I looked at the places that call crypto_init_spawn2() and "frontend" is
always a valid pointer so I removed the check for null.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions