@@ -127,7 +127,7 @@ static int ch934x_get_portnum(int index) {
127127/*
128128 * Functions for CH934X control messages.
129129 */
130-
130+ /*
131131static int ch934x_control_out(struct ch934x *ch934x, u8 request,
132132 u16 value, u16 index)
133133{
@@ -143,7 +143,7 @@ static int ch934x_control_out(struct ch934x *ch934x, u8 request,
143143
144144 return retval < 0 ? retval : 0;
145145}
146-
146+ */
147147static int ch934x_control_in (struct ch934x * ch934x ,
148148 u8 request , u16 value , u16 index ,
149149 char * buf , unsigned bufsize )
@@ -193,7 +193,7 @@ static int ch934x_cmd_out(struct ch934x *ch934x, u8 *buf,
193193
194194 return actual_len ;
195195}
196-
196+ /*
197197static int ch934x_cmd_in(struct ch934x *ch934x,
198198 u8 *buf, int count)
199199{
@@ -223,7 +223,7 @@ static int ch934x_cmd_in(struct ch934x *ch934x,
223223
224224 return actual_len;
225225}
226-
226+ */
227227static inline int ch934x_enum_portnum (struct ch934x * ch934x )
228228{
229229 char * buffer ;
@@ -1413,7 +1413,7 @@ static void ch934x_disconnect(struct usb_interface *intf)
14131413}
14141414
14151415#ifdef CONFIG_PM
1416- static int ch934x_suspend (struct usb_interface * intf , pm_message_t message )
1416+ /* static int ch934x_suspend(struct usb_interface *intf, pm_message_t message)
14171417{
14181418 struct ch934x *ch934x = usb_get_intfdata(intf);
14191419 int cnt;
@@ -1457,12 +1457,12 @@ static int ch934x_resume(struct usb_interface *intf)
14571457
14581458 ch934x_start_wb(ch934x, urb->context);
14591459 }
1460-
1460+ */
14611461 /*
14621462 * delayed error checking because we must
14631463 * do the write path at all cost
14641464 */
1465- if (rv < 0 )
1465+ /* if (rv < 0)
14661466 goto out;
14671467
14681468 rv = ch934x_submit_read_urbs(ch934x, GFP_ATOMIC);
@@ -1482,7 +1482,7 @@ static int ch934x_reset_resume(struct usb_interface *intf)
14821482
14831483 return ch934x_resume(intf);
14841484}
1485-
1485+ */
14861486#endif /* CONFIG_PM */
14871487
14881488/*
0 commit comments