[media] go7007: Comment some dead code
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 29 Apr 2015 15:44:18 +0000 (12:44 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 1 May 2015 09:09:52 +0000 (06:09 -0300)
drivers/media/usb/go7007/go7007-usb.c:1099 go7007_usb_probe() info: ignoring unreachable code.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/go7007/go7007-usb.c

index 3f986e1178ce4fa5f821eadf489b3e5f15ff2e33..4857c467e76cd169e9a626301a94105289f2b461 100644 (file)
@@ -338,6 +338,7 @@ static const struct go7007_usb_board board_matrix_revolution = {
        },
 };
 
+#if 0
 static const struct go7007_usb_board board_lifeview_lr192 = {
        .flags          = GO7007_USB_EZUSB,
        .main_info      = {
@@ -364,6 +365,7 @@ static const struct go7007_usb_board board_lifeview_lr192 = {
                },
        },
 };
+#endif
 
 static const struct go7007_usb_board board_endura = {
        .flags          = 0,
@@ -1096,8 +1098,10 @@ static int go7007_usb_probe(struct usb_interface *intf,
        case GO7007_BOARDID_LIFEVIEW_LR192:
                dev_err(&intf->dev, "The Lifeview TV Walker Ultra is not supported. Sorry!\n");
                return -ENODEV;
+#if 0
                name = "Lifeview TV Walker Ultra";
                board = &board_lifeview_lr192;
+#endif
                break;
        case GO7007_BOARDID_SENSORAY_2250:
                dev_info(&intf->dev, "Sensoray 2250 found\n");