diff options
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-hdw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index c56208456bc0..c08162cc20ae 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c | |||
@@ -1831,7 +1831,6 @@ struct pvr2_hdw *pvr2_hdw_create(struct usb_interface *intf, | |||
1831 | hdw->controls = kzalloc(sizeof(struct pvr2_ctrl) * hdw->control_cnt, | 1831 | hdw->controls = kzalloc(sizeof(struct pvr2_ctrl) * hdw->control_cnt, |
1832 | GFP_KERNEL); | 1832 | GFP_KERNEL); |
1833 | if (!hdw->controls) goto fail; | 1833 | if (!hdw->controls) goto fail; |
1834 | hdw->hdw_type = hdw_type; | ||
1835 | hdw->hdw_desc = hdw_desc; | 1834 | hdw->hdw_desc = hdw_desc; |
1836 | for (idx = 0; idx < hdw->control_cnt; idx++) { | 1835 | for (idx = 0; idx < hdw->control_cnt; idx++) { |
1837 | cptr = hdw->controls + idx; | 1836 | cptr = hdw->controls + idx; |