[media] dw2102: Prof 1100 initialization fix
authorIgor M. Liplianin <liplianin@me.by>
Fri, 25 Feb 2011 21:41:23 +0000 (18:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:26 +0000 (20:32 -0300)
RC keys structure for Prof 1100 already defined, so remove extra initialization.

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dw2102.c

index ea9a01c..4458199 100644 (file)
@@ -1464,11 +1464,6 @@ static int dw2102_load_firmware(struct usb_device *dev,
                }
                /* init registers */
                switch (dev->descriptor.idProduct) {
-               case USB_PID_PROF_1100:
-                       s6x0_properties.rc.legacy.rc_map_table = rc_map_tbs_table;
-                       s6x0_properties.rc.legacy.rc_map_size =
-                                       ARRAY_SIZE(rc_map_tbs_table);
-                       break;
                case USB_PID_TEVII_S650:
                        dw2104_properties.rc.legacy.rc_map_table = rc_map_tevii_table;
                        dw2104_properties.rc.legacy.rc_map_size =