[media] dvbdev: remove useless parentheses after return
authorXiubo Li <lixiubo@cmss.chinamobile.com>
Fri, 15 Jan 2016 05:15:00 +0000 (03:15 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 1 Feb 2016 12:24:44 +0000 (10:24 -0200)
The parentheses are not required after return, and just remove it.

Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-core/dvbdev.c

index a7de62ebc4157e8651ea0d8febc21b31b6e97368..a48421e96b5e18bd77993e5b9663c016059e8017 100644 (file)
@@ -352,7 +352,7 @@ static int dvb_create_media_entity(struct dvb_device *dvbdev,
        ret = media_device_register_entity(dvbdev->adapter->mdev,
                                           dvbdev->entity);
        if (ret)
-               return (ret);
+               return ret;
 
        printk(KERN_DEBUG "%s: media entity '%s' registered.\n",
                __func__, dvbdev->entity->name);