From: Christian Gromm Date: Wed, 21 Oct 2015 15:50:51 +0000 (+0200) Subject: staging: most: remove comparison to NULL X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f96d48aaa915178995b4bf246793168376fd0576;p=openwrt%2Fstaging%2Fblogic.git staging: most: remove comparison to NULL Signed-off-by: Christian Gromm Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c b/drivers/staging/most/hdm-usb/hdm_usb.c index 747d22eabf97..b5fb1a781ae1 100644 --- a/drivers/staging/most/hdm-usb/hdm_usb.c +++ b/drivers/staging/most/hdm-usb/hdm_usb.c @@ -1417,7 +1417,7 @@ static int __init hdm_usb_init(void) return -EIO; } schedule_usb_work = create_workqueue("hdmu_work"); - if (schedule_usb_work == NULL) { + if (!schedule_usb_work) { pr_err("could not create workqueue\n"); usb_deregister(&hdm_usb); return -ENOMEM;