Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 724c76ce authored by Allan, Bruce W's avatar Allan, Bruce W Committed by Herbert Xu
Browse files

crypto: qat - fix checkpatch COMPARISON_TO_NULL issue



CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written
"!device_reset_wq"

Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent af6f2a7b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -239,7 +239,7 @@ EXPORT_SYMBOL_GPL(adf_disable_aer);
int adf_init_aer(void)
int adf_init_aer(void)
{
{
	device_reset_wq = create_workqueue("qat_device_reset_wq");
	device_reset_wq = create_workqueue("qat_device_reset_wq");
	return (device_reset_wq == NULL) ? -EFAULT : 0;
	return !device_reset_wq ? -EFAULT : 0;
}
}


void adf_exit_aer(void)
void adf_exit_aer(void)