summaryrefslogtreecommitdiff
path: root/drivers/staging/most/hdm-usb
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2015-10-21 17:50:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-24 19:08:20 -0700
commitf96d48aaa915178995b4bf246793168376fd0576 (patch)
tree64765e1781b3ee10630e5d3366db951d89f9d8cf /drivers/staging/most/hdm-usb
parent181a2aa185c092b840a2bc089e83629619f5b1ab (diff)
staging: most: remove comparison to NULL
Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/hdm-usb')
-rw-r--r--drivers/staging/most/hdm-usb/hdm_usb.c2
1 files changed, 1 insertions, 1 deletions
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;