staging: most: remove comparison to NULL
authorChristian Gromm <christian.gromm@microchip.com>
Wed, 21 Oct 2015 15:50:51 +0000 (17:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 02:08:20 +0000 (19:08 -0700)
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-usb/hdm_usb.c

index 747d22eabf97bdad74ffa92fd8a8aee63d05c776..b5fb1a781ae1526f01b8919921fe350e2e6360c3 100644 (file)
@@ -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;