[media] media: usb: dvb-usb-v2: dvb_usb_core: don't print error when adding adapter...
authorWolfram Sang <wsa-dev@sang-engineering.com>
Tue, 9 Aug 2016 11:35:16 +0000 (08:35 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 16:57:58 +0000 (13:57 -0300)
The core will do this for us now.

Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c

index 3fbb2cd..a8e6624 100644 (file)
@@ -82,8 +82,6 @@ static int dvb_usbv2_i2c_init(struct dvb_usb_device *d)
        ret = i2c_add_adapter(&d->i2c_adap);
        if (ret < 0) {
                d->i2c_adap.algo = NULL;
-               dev_err(&d->udev->dev, "%s: i2c_add_adapter() failed=%d\n",
-                               KBUILD_MODNAME, ret);
                goto err;
        }