diff options
Diffstat (limited to 'drivers/usb')
35 files changed, 19 insertions, 113 deletions
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c index 387e503b9d14..bdec36acd0fa 100644 --- a/drivers/usb/gadget/at91_udc.c +++ b/drivers/usb/gadget/at91_udc.c | |||
@@ -1266,7 +1266,6 @@ write_in: | |||
1266 | csr |= AT91_UDP_TXPKTRDY; | 1266 | csr |= AT91_UDP_TXPKTRDY; |
1267 | __raw_writel(csr, creg); | 1267 | __raw_writel(csr, creg); |
1268 | udc->req_pending = 0; | 1268 | udc->req_pending = 0; |
1269 | return; | ||
1270 | } | 1269 | } |
1271 | 1270 | ||
1272 | static void handle_ep0(struct at91_udc *udc) | 1271 | static void handle_ep0(struct at91_udc *udc) |
diff --git a/drivers/usb/gadget/f_audio.c b/drivers/usb/gadget/f_audio.c index 1f48ceb55a77..00975ed903d1 100644 --- a/drivers/usb/gadget/f_audio.c +++ b/drivers/usb/gadget/f_audio.c | |||
@@ -317,8 +317,6 @@ static void f_audio_playback_work(struct work_struct *data) | |||
317 | 317 | ||
318 | u_audio_playback(&audio->card, play_buf->buf, play_buf->actual); | 318 | u_audio_playback(&audio->card, play_buf->buf, play_buf->actual); |
319 | f_audio_buffer_free(play_buf); | 319 | f_audio_buffer_free(play_buf); |
320 | |||
321 | return; | ||
322 | } | 320 | } |
323 | 321 | ||
324 | static int f_audio_out_ep_complete(struct usb_ep *ep, struct usb_request *req) | 322 | static int f_audio_out_ep_complete(struct usb_ep *ep, struct usb_request *req) |
diff --git a/drivers/usb/gadget/f_hid.c b/drivers/usb/gadget/f_hid.c index 2b98bd26364b..4f891eddd060 100644 --- a/drivers/usb/gadget/f_hid.c +++ b/drivers/usb/gadget/f_hid.c | |||
@@ -318,8 +318,6 @@ static void hidg_set_report_complete(struct usb_ep *ep, struct usb_request *req) | |||
318 | spin_unlock(&hidg->spinlock); | 318 | spin_unlock(&hidg->spinlock); |
319 | 319 | ||
320 | wake_up(&hidg->read_queue); | 320 | wake_up(&hidg->read_queue); |
321 | |||
322 | return; | ||
323 | } | 321 | } |
324 | 322 | ||
325 | static int hidg_setup(struct usb_function *f, | 323 | static int hidg_setup(struct usb_function *f, |
@@ -413,8 +411,6 @@ static void hidg_disable(struct usb_function *f) | |||
413 | 411 | ||
414 | usb_ep_disable(hidg->in_ep); | 412 | usb_ep_disable(hidg->in_ep); |
415 | hidg->in_ep->driver_data = NULL; | 413 | hidg->in_ep->driver_data = NULL; |
416 | |||
417 | return; | ||
418 | } | 414 | } |
419 | 415 | ||
420 | static int hidg_set_alt(struct usb_function *f, unsigned intf, unsigned alt) | 416 | static int hidg_set_alt(struct usb_function *f, unsigned intf, unsigned alt) |
diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index c16b402a876b..4c55eda4bd20 100644 --- a/drivers/usb/gadget/fsl_udc_core.c +++ b/drivers/usb/gadget/fsl_udc_core.c | |||
@@ -287,8 +287,6 @@ static void dr_controller_run(struct fsl_udc *udc) | |||
287 | temp = fsl_readl(&dr_regs->usbcmd); | 287 | temp = fsl_readl(&dr_regs->usbcmd); |
288 | temp |= USB_CMD_RUN_STOP; | 288 | temp |= USB_CMD_RUN_STOP; |
289 | fsl_writel(temp, &dr_regs->usbcmd); | 289 | fsl_writel(temp, &dr_regs->usbcmd); |
290 | |||
291 | return; | ||
292 | } | 290 | } |
293 | 291 | ||
294 | static void dr_controller_stop(struct fsl_udc *udc) | 292 | static void dr_controller_stop(struct fsl_udc *udc) |
@@ -308,8 +306,6 @@ static void dr_controller_stop(struct fsl_udc *udc) | |||
308 | tmp = fsl_readl(&dr_regs->usbcmd); | 306 | tmp = fsl_readl(&dr_regs->usbcmd); |
309 | tmp &= ~USB_CMD_RUN_STOP; | 307 | tmp &= ~USB_CMD_RUN_STOP; |
310 | fsl_writel(tmp, &dr_regs->usbcmd); | 308 | fsl_writel(tmp, &dr_regs->usbcmd); |
311 | |||
312 | return; | ||
313 | } | 309 | } |
314 | 310 | ||
315 | static void dr_ep_setup(unsigned char ep_num, unsigned char dir, | 311 | static void dr_ep_setup(unsigned char ep_num, unsigned char dir, |
@@ -416,8 +412,6 @@ static void struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num, | |||
416 | p_QH->max_pkt_length = cpu_to_le32(tmp); | 412 | p_QH->max_pkt_length = cpu_to_le32(tmp); |
417 | p_QH->next_dtd_ptr = 1; | 413 | p_QH->next_dtd_ptr = 1; |
418 | p_QH->size_ioc_int_sts = 0; | 414 | p_QH->size_ioc_int_sts = 0; |
419 | |||
420 | return; | ||
421 | } | 415 | } |
422 | 416 | ||
423 | /* Setup qh structure and ep register for ep0. */ | 417 | /* Setup qh structure and ep register for ep0. */ |
diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 027d66f81620..2efd6732d130 100644 --- a/drivers/usb/gadget/pxa27x_udc.c +++ b/drivers/usb/gadget/pxa27x_udc.c | |||
@@ -1394,8 +1394,6 @@ static void pxa_ep_fifo_flush(struct usb_ep *_ep) | |||
1394 | } | 1394 | } |
1395 | 1395 | ||
1396 | spin_unlock_irqrestore(&ep->lock, flags); | 1396 | spin_unlock_irqrestore(&ep->lock, flags); |
1397 | |||
1398 | return; | ||
1399 | } | 1397 | } |
1400 | 1398 | ||
1401 | /** | 1399 | /** |
diff --git a/drivers/usb/gadget/rndis.c b/drivers/usb/gadget/rndis.c index 5b314041dfa9..d3cdffea9c8a 100644 --- a/drivers/usb/gadget/rndis.c +++ b/drivers/usb/gadget/rndis.c | |||
@@ -918,8 +918,6 @@ void rndis_deregister(int configNr) | |||
918 | 918 | ||
919 | if (configNr >= RNDIS_MAX_CONFIGS) return; | 919 | if (configNr >= RNDIS_MAX_CONFIGS) return; |
920 | rndis_per_dev_params[configNr].used = 0; | 920 | rndis_per_dev_params[configNr].used = 0; |
921 | |||
922 | return; | ||
923 | } | 921 | } |
924 | 922 | ||
925 | int rndis_set_param_dev(u8 configNr, struct net_device *dev, u16 *cdc_filter) | 923 | int rndis_set_param_dev(u8 configNr, struct net_device *dev, u16 *cdc_filter) |
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 15fe3ecd203b..2adae8e39bba 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c | |||
@@ -1095,7 +1095,6 @@ nogood: | |||
1095 | ep->hcpriv = NULL; | 1095 | ep->hcpriv = NULL; |
1096 | done: | 1096 | done: |
1097 | spin_unlock_irqrestore (&ehci->lock, flags); | 1097 | spin_unlock_irqrestore (&ehci->lock, flags); |
1098 | return; | ||
1099 | } | 1098 | } |
1100 | 1099 | ||
1101 | static void | 1100 | static void |
diff --git a/drivers/usb/host/imx21-hcd.c b/drivers/usb/host/imx21-hcd.c index 1dfb2c8f7707..e49b75a78000 100644 --- a/drivers/usb/host/imx21-hcd.c +++ b/drivers/usb/host/imx21-hcd.c | |||
@@ -27,8 +27,8 @@ | |||
27 | * * 32 transfer descriptors (called ETDs) | 27 | * * 32 transfer descriptors (called ETDs) |
28 | * * 4Kb of Data memory | 28 | * * 4Kb of Data memory |
29 | * | 29 | * |
30 | * The data memory is shared between the host and fuction controlers | 30 | * The data memory is shared between the host and function controllers |
31 | * (but this driver only supports the host controler) | 31 | * (but this driver only supports the host controller) |
32 | * | 32 | * |
33 | * So setting up a transfer involves: | 33 | * So setting up a transfer involves: |
34 | * * Allocating a ETD | 34 | * * Allocating a ETD |
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 3b5785032a10..f3713f43f3fe 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c | |||
@@ -370,7 +370,6 @@ sanitize: | |||
370 | } | 370 | } |
371 | ep->hcpriv = NULL; | 371 | ep->hcpriv = NULL; |
372 | spin_unlock_irqrestore (&ohci->lock, flags); | 372 | spin_unlock_irqrestore (&ohci->lock, flags); |
373 | return; | ||
374 | } | 373 | } |
375 | 374 | ||
376 | static int ohci_get_frame (struct usb_hcd *hcd) | 375 | static int ohci_get_frame (struct usb_hcd *hcd) |
diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c index d32c3eae99cb..32149be4ad8e 100644 --- a/drivers/usb/host/oxu210hp-hcd.c +++ b/drivers/usb/host/oxu210hp-hcd.c | |||
@@ -544,8 +544,6 @@ static void oxu_buf_free(struct oxu_hcd *oxu, struct ehci_qtd *qtd) | |||
544 | qtd->buffer = NULL; | 544 | qtd->buffer = NULL; |
545 | 545 | ||
546 | spin_unlock(&oxu->mem_lock); | 546 | spin_unlock(&oxu->mem_lock); |
547 | |||
548 | return; | ||
549 | } | 547 | } |
550 | 548 | ||
551 | static inline void ehci_qtd_init(struct ehci_qtd *qtd, dma_addr_t dma) | 549 | static inline void ehci_qtd_init(struct ehci_qtd *qtd, dma_addr_t dma) |
@@ -571,8 +569,6 @@ static inline void oxu_qtd_free(struct oxu_hcd *oxu, struct ehci_qtd *qtd) | |||
571 | oxu->qtd_used[index] = 0; | 569 | oxu->qtd_used[index] = 0; |
572 | 570 | ||
573 | spin_unlock(&oxu->mem_lock); | 571 | spin_unlock(&oxu->mem_lock); |
574 | |||
575 | return; | ||
576 | } | 572 | } |
577 | 573 | ||
578 | static struct ehci_qtd *ehci_qtd_alloc(struct oxu_hcd *oxu) | 574 | static struct ehci_qtd *ehci_qtd_alloc(struct oxu_hcd *oxu) |
@@ -615,8 +611,6 @@ static void oxu_qh_free(struct oxu_hcd *oxu, struct ehci_qh *qh) | |||
615 | oxu->qh_used[index] = 0; | 611 | oxu->qh_used[index] = 0; |
616 | 612 | ||
617 | spin_unlock(&oxu->mem_lock); | 613 | spin_unlock(&oxu->mem_lock); |
618 | |||
619 | return; | ||
620 | } | 614 | } |
621 | 615 | ||
622 | static void qh_destroy(struct kref *kref) | 616 | static void qh_destroy(struct kref *kref) |
@@ -693,8 +687,6 @@ static void oxu_murb_free(struct oxu_hcd *oxu, struct oxu_murb *murb) | |||
693 | oxu->murb_used[index] = 0; | 687 | oxu->murb_used[index] = 0; |
694 | 688 | ||
695 | spin_unlock(&oxu->mem_lock); | 689 | spin_unlock(&oxu->mem_lock); |
696 | |||
697 | return; | ||
698 | } | 690 | } |
699 | 691 | ||
700 | static struct oxu_murb *oxu_murb_alloc(struct oxu_hcd *oxu) | 692 | static struct oxu_murb *oxu_murb_alloc(struct oxu_hcd *oxu) |
@@ -3070,7 +3062,6 @@ nogood: | |||
3070 | ep->hcpriv = NULL; | 3062 | ep->hcpriv = NULL; |
3071 | done: | 3063 | done: |
3072 | spin_unlock_irqrestore(&oxu->lock, flags); | 3064 | spin_unlock_irqrestore(&oxu->lock, flags); |
3073 | return; | ||
3074 | } | 3065 | } |
3075 | 3066 | ||
3076 | static int oxu_get_frame(struct usb_hcd *hcd) | 3067 | static int oxu_get_frame(struct usb_hcd *hcd) |
diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c index 464ed977b45d..4c502c890ebd 100644 --- a/drivers/usb/host/pci-quirks.c +++ b/drivers/usb/host/pci-quirks.c | |||
@@ -342,8 +342,6 @@ static void __devinit quirk_usb_disable_ehci(struct pci_dev *pdev) | |||
342 | writel(0x3f, op_reg_base + EHCI_USBSTS); | 342 | writel(0x3f, op_reg_base + EHCI_USBSTS); |
343 | 343 | ||
344 | iounmap(base); | 344 | iounmap(base); |
345 | |||
346 | return; | ||
347 | } | 345 | } |
348 | 346 | ||
349 | /* | 347 | /* |
diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index 5b31bae92dbc..fab764946c74 100644 --- a/drivers/usb/host/u132-hcd.c +++ b/drivers/usb/host/u132-hcd.c | |||
@@ -316,7 +316,6 @@ static void u132_ring_requeue_work(struct u132 *u132, struct u132_ring *ring, | |||
316 | } else if (queue_delayed_work(workqueue, &ring->scheduler, 0)) | 316 | } else if (queue_delayed_work(workqueue, &ring->scheduler, 0)) |
317 | return; | 317 | return; |
318 | kref_put(&u132->kref, u132_hcd_delete); | 318 | kref_put(&u132->kref, u132_hcd_delete); |
319 | return; | ||
320 | } | 319 | } |
321 | 320 | ||
322 | static void u132_ring_queue_work(struct u132 *u132, struct u132_ring *ring, | 321 | static void u132_ring_queue_work(struct u132 *u132, struct u132_ring *ring, |
@@ -324,7 +323,6 @@ static void u132_ring_queue_work(struct u132 *u132, struct u132_ring *ring, | |||
324 | { | 323 | { |
325 | kref_get(&u132->kref); | 324 | kref_get(&u132->kref); |
326 | u132_ring_requeue_work(u132, ring, delta); | 325 | u132_ring_requeue_work(u132, ring, delta); |
327 | return; | ||
328 | } | 326 | } |
329 | 327 | ||
330 | static void u132_ring_cancel_work(struct u132 *u132, struct u132_ring *ring) | 328 | static void u132_ring_cancel_work(struct u132 *u132, struct u132_ring *ring) |
@@ -543,7 +541,6 @@ static void u132_hcd_giveback_urb(struct u132 *u132, struct u132_endp *endp, | |||
543 | mutex_unlock(&u132->scheduler_lock); | 541 | mutex_unlock(&u132->scheduler_lock); |
544 | u132_endp_put_kref(u132, endp); | 542 | u132_endp_put_kref(u132, endp); |
545 | usb_hcd_giveback_urb(hcd, urb, status); | 543 | usb_hcd_giveback_urb(hcd, urb, status); |
546 | return; | ||
547 | } | 544 | } |
548 | 545 | ||
549 | static void u132_hcd_forget_urb(struct u132 *u132, struct u132_endp *endp, | 546 | static void u132_hcd_forget_urb(struct u132 *u132, struct u132_endp *endp, |
@@ -574,8 +571,8 @@ static void u132_hcd_abandon_urb(struct u132 *u132, struct u132_endp *endp, | |||
574 | endp->active = 0; | 571 | endp->active = 0; |
575 | spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); | 572 | spin_unlock_irqrestore(&endp->queue_lock.slock, irqs); |
576 | kfree(urbq); | 573 | kfree(urbq); |
577 | } usb_hcd_giveback_urb(hcd, urb, status); | 574 | } |
578 | return; | 575 | usb_hcd_giveback_urb(hcd, urb, status); |
579 | } | 576 | } |
580 | 577 | ||
581 | static inline int edset_input(struct u132 *u132, struct u132_ring *ring, | 578 | static inline int edset_input(struct u132 *u132, struct u132_ring *ring, |
@@ -3085,7 +3082,6 @@ static void u132_initialise(struct u132 *u132, struct platform_device *pdev) | |||
3085 | u132->endp[endps] = NULL; | 3082 | u132->endp[endps] = NULL; |
3086 | 3083 | ||
3087 | mutex_unlock(&u132->sw_lock); | 3084 | mutex_unlock(&u132->sw_lock); |
3088 | return; | ||
3089 | } | 3085 | } |
3090 | 3086 | ||
3091 | static int __devinit u132_probe(struct platform_device *pdev) | 3087 | static int __devinit u132_probe(struct platform_device *pdev) |
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c index 3a6bcd5fee09..5a47805d9580 100644 --- a/drivers/usb/image/microtek.c +++ b/drivers/usb/image/microtek.c | |||
@@ -398,7 +398,6 @@ void mts_int_submit_urb (struct urb* transfer, | |||
398 | context->srb->result = DID_ERROR << 16; | 398 | context->srb->result = DID_ERROR << 16; |
399 | mts_transfer_cleanup(transfer); | 399 | mts_transfer_cleanup(transfer); |
400 | } | 400 | } |
401 | return; | ||
402 | } | 401 | } |
403 | 402 | ||
404 | 403 | ||
@@ -409,7 +408,6 @@ static void mts_transfer_cleanup( struct urb *transfer ) | |||
409 | 408 | ||
410 | if ( likely(context->final_callback != NULL) ) | 409 | if ( likely(context->final_callback != NULL) ) |
411 | context->final_callback(context->srb); | 410 | context->final_callback(context->srb); |
412 | |||
413 | } | 411 | } |
414 | 412 | ||
415 | static void mts_transfer_done( struct urb *transfer ) | 413 | static void mts_transfer_done( struct urb *transfer ) |
@@ -420,8 +418,6 @@ static void mts_transfer_done( struct urb *transfer ) | |||
420 | context->srb->result |= (unsigned)(*context->scsi_status)<<1; | 418 | context->srb->result |= (unsigned)(*context->scsi_status)<<1; |
421 | 419 | ||
422 | mts_transfer_cleanup(transfer); | 420 | mts_transfer_cleanup(transfer); |
423 | |||
424 | return; | ||
425 | } | 421 | } |
426 | 422 | ||
427 | 423 | ||
@@ -452,8 +448,6 @@ static void mts_data_done( struct urb* transfer ) | |||
452 | } | 448 | } |
453 | 449 | ||
454 | mts_get_status(transfer); | 450 | mts_get_status(transfer); |
455 | |||
456 | return; | ||
457 | } | 451 | } |
458 | 452 | ||
459 | 453 | ||
@@ -496,8 +490,6 @@ static void mts_command_done( struct urb *transfer ) | |||
496 | mts_get_status(transfer); | 490 | mts_get_status(transfer); |
497 | } | 491 | } |
498 | } | 492 | } |
499 | |||
500 | return; | ||
501 | } | 493 | } |
502 | 494 | ||
503 | static void mts_do_sg (struct urb* transfer) | 495 | static void mts_do_sg (struct urb* transfer) |
@@ -522,7 +514,6 @@ static void mts_do_sg (struct urb* transfer) | |||
522 | sg[context->fragment].length, | 514 | sg[context->fragment].length, |
523 | context->fragment + 1 == scsi_sg_count(context->srb) ? | 515 | context->fragment + 1 == scsi_sg_count(context->srb) ? |
524 | mts_data_done : mts_do_sg); | 516 | mts_data_done : mts_do_sg); |
525 | return; | ||
526 | } | 517 | } |
527 | 518 | ||
528 | static const u8 mts_read_image_sig[] = { 0x28, 00, 00, 00 }; | 519 | static const u8 mts_read_image_sig[] = { 0x28, 00, 00, 00 }; |
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c index c8eec9c2d89e..7839c98fa742 100644 --- a/drivers/usb/misc/ftdi-elan.c +++ b/drivers/usb/misc/ftdi-elan.c | |||
@@ -456,7 +456,6 @@ static void ftdi_elan_cancel_targets(struct usb_ftdi *ftdi) | |||
456 | static void ftdi_elan_kick_command_queue(struct usb_ftdi *ftdi) | 456 | static void ftdi_elan_kick_command_queue(struct usb_ftdi *ftdi) |
457 | { | 457 | { |
458 | ftdi_command_queue_work(ftdi, 0); | 458 | ftdi_command_queue_work(ftdi, 0); |
459 | return; | ||
460 | } | 459 | } |
461 | 460 | ||
462 | static void ftdi_elan_command_work(struct work_struct *work) | 461 | static void ftdi_elan_command_work(struct work_struct *work) |
@@ -483,7 +482,6 @@ static void ftdi_elan_command_work(struct work_struct *work) | |||
483 | static void ftdi_elan_kick_respond_queue(struct usb_ftdi *ftdi) | 482 | static void ftdi_elan_kick_respond_queue(struct usb_ftdi *ftdi) |
484 | { | 483 | { |
485 | ftdi_respond_queue_work(ftdi, 0); | 484 | ftdi_respond_queue_work(ftdi, 0); |
486 | return; | ||
487 | } | 485 | } |
488 | 486 | ||
489 | static void ftdi_elan_respond_work(struct work_struct *work) | 487 | static void ftdi_elan_respond_work(struct work_struct *work) |
diff --git a/drivers/usb/mon/mon_main.c b/drivers/usb/mon/mon_main.c index 812dc288bb8c..10405119985c 100644 --- a/drivers/usb/mon/mon_main.c +++ b/drivers/usb/mon/mon_main.c | |||
@@ -90,7 +90,6 @@ static void mon_bus_submit(struct mon_bus *mbus, struct urb *urb) | |||
90 | r->rnf_submit(r->r_data, urb); | 90 | r->rnf_submit(r->r_data, urb); |
91 | } | 91 | } |
92 | spin_unlock_irqrestore(&mbus->lock, flags); | 92 | spin_unlock_irqrestore(&mbus->lock, flags); |
93 | return; | ||
94 | } | 93 | } |
95 | 94 | ||
96 | static void mon_submit(struct usb_bus *ubus, struct urb *urb) | 95 | static void mon_submit(struct usb_bus *ubus, struct urb *urb) |
@@ -117,7 +116,6 @@ static void mon_bus_submit_error(struct mon_bus *mbus, struct urb *urb, int erro | |||
117 | r->rnf_error(r->r_data, urb, error); | 116 | r->rnf_error(r->r_data, urb, error); |
118 | } | 117 | } |
119 | spin_unlock_irqrestore(&mbus->lock, flags); | 118 | spin_unlock_irqrestore(&mbus->lock, flags); |
120 | return; | ||
121 | } | 119 | } |
122 | 120 | ||
123 | static void mon_submit_error(struct usb_bus *ubus, struct urb *urb, int error) | 121 | static void mon_submit_error(struct usb_bus *ubus, struct urb *urb, int error) |
diff --git a/drivers/usb/serial/Kconfig b/drivers/usb/serial/Kconfig index 95058109f9fa..c2b29761fa98 100644 --- a/drivers/usb/serial/Kconfig +++ b/drivers/usb/serial/Kconfig | |||
@@ -176,7 +176,7 @@ config USB_SERIAL_VISOR | |||
176 | help | 176 | help |
177 | Say Y here if you want to connect to your HandSpring Visor, Palm | 177 | Say Y here if you want to connect to your HandSpring Visor, Palm |
178 | m500 or m505 through its USB docking station. See | 178 | m500 or m505 through its USB docking station. See |
179 | <http://usbvisor.sourceforge.net/> for more information on using this | 179 | <http://usbvisor.sourceforge.net/index.php3> for more information on using this |
180 | driver. | 180 | driver. |
181 | 181 | ||
182 | To compile this driver as a module, choose M here: the | 182 | To compile this driver as a module, choose M here: the |
@@ -289,7 +289,7 @@ config USB_SERIAL_KEYSPAN | |||
289 | and was developed with their support. You must also include | 289 | and was developed with their support. You must also include |
290 | firmware to support your particular device(s). | 290 | firmware to support your particular device(s). |
291 | 291 | ||
292 | See <http://misc.nu/hugh/keyspan.html> for more information. | 292 | See <http://blemings.org/hugh/keyspan.html> for more information. |
293 | 293 | ||
294 | To compile this driver as a module, choose M here: the | 294 | To compile this driver as a module, choose M here: the |
295 | module will be called keyspan. | 295 | module will be called keyspan. |
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c index f5d06746cc3b..2edf238b00b9 100644 --- a/drivers/usb/serial/cypress_m8.c +++ b/drivers/usb/serial/cypress_m8.c | |||
@@ -1320,8 +1320,6 @@ continue_read: | |||
1320 | cypress_set_dead(port); | 1320 | cypress_set_dead(port); |
1321 | } | 1321 | } |
1322 | } | 1322 | } |
1323 | |||
1324 | return; | ||
1325 | } /* cypress_read_int_callback */ | 1323 | } /* cypress_read_int_callback */ |
1326 | 1324 | ||
1327 | 1325 | ||
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 37b57c785cc7..89a9a5847803 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c | |||
@@ -2108,7 +2108,6 @@ static void ftdi_set_termios(struct tty_struct *tty, | |||
2108 | } | 2108 | } |
2109 | 2109 | ||
2110 | } | 2110 | } |
2111 | return; | ||
2112 | } | 2111 | } |
2113 | 2112 | ||
2114 | static int ftdi_tiocmget(struct tty_struct *tty, struct file *file) | 2113 | static int ftdi_tiocmget(struct tty_struct *tty, struct file *file) |
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h index cf1aea1b9ee7..7dfe02f1fb6a 100644 --- a/drivers/usb/serial/ftdi_sio_ids.h +++ b/drivers/usb/serial/ftdi_sio_ids.h | |||
@@ -46,7 +46,7 @@ | |||
46 | #define FTDI_USINT_RS232_PID 0xb812 /* Navigator RS232 and CONFIG lines */ | 46 | #define FTDI_USINT_RS232_PID 0xb812 /* Navigator RS232 and CONFIG lines */ |
47 | 47 | ||
48 | /* OOCDlink by Joern Kaipf <joernk@web.de> | 48 | /* OOCDlink by Joern Kaipf <joernk@web.de> |
49 | * (http://www.joernonline.de/dw/doku.php?id=start&idx=projects:oocdlink) */ | 49 | * (http://www.joernonline.de/) */ |
50 | #define FTDI_OOCDLINK_PID 0xbaf8 /* Amontec JTAGkey */ | 50 | #define FTDI_OOCDLINK_PID 0xbaf8 /* Amontec JTAGkey */ |
51 | 51 | ||
52 | /* Luminary Micro Stellaris Boards, VID = FTDI_VID */ | 52 | /* Luminary Micro Stellaris Boards, VID = FTDI_VID */ |
@@ -336,7 +336,7 @@ | |||
336 | #define FTDI_PIEGROUP_PID 0xF208 /* Product Id */ | 336 | #define FTDI_PIEGROUP_PID 0xF208 /* Product Id */ |
337 | 337 | ||
338 | /* ACT Solutions HomePro ZWave interface | 338 | /* ACT Solutions HomePro ZWave interface |
339 | (http://www.act-solutions.com/HomePro.htm) */ | 339 | (http://www.act-solutions.com/HomePro-Product-Matrix.html) */ |
340 | #define FTDI_ACTZWAVE_PID 0xF2D0 | 340 | #define FTDI_ACTZWAVE_PID 0xF2D0 |
341 | 341 | ||
342 | /* | 342 | /* |
@@ -367,7 +367,7 @@ | |||
367 | #define FTDI_SUUNTO_SPORTS_PID 0xF680 /* Suunto Sports instrument */ | 367 | #define FTDI_SUUNTO_SPORTS_PID 0xF680 /* Suunto Sports instrument */ |
368 | 368 | ||
369 | /* USB-UIRT - An infrared receiver and transmitter using the 8U232AM chip */ | 369 | /* USB-UIRT - An infrared receiver and transmitter using the 8U232AM chip */ |
370 | /* http://home.earthlink.net/~jrhees/USBUIRT/index.htm */ | 370 | /* http://www.usbuirt.com/ */ |
371 | #define FTDI_USB_UIRT_PID 0xF850 /* Product Id */ | 371 | #define FTDI_USB_UIRT_PID 0xF850 /* Product Id */ |
372 | 372 | ||
373 | /* CCS Inc. ICDU/ICDU40 product ID - | 373 | /* CCS Inc. ICDU/ICDU40 product ID - |
@@ -396,7 +396,7 @@ | |||
396 | */ | 396 | */ |
397 | #define FTDI_HE_TIRA1_PID 0xFA78 /* Tira-1 IR transceiver */ | 397 | #define FTDI_HE_TIRA1_PID 0xFA78 /* Tira-1 IR transceiver */ |
398 | 398 | ||
399 | /* Inside Accesso contactless reader (http://www.insidefr.com) */ | 399 | /* Inside Accesso contactless reader (http://www.insidecontactless.com/) */ |
400 | #define INSIDE_ACCESSO 0xFAD0 | 400 | #define INSIDE_ACCESSO 0xFAD0 |
401 | 401 | ||
402 | /* | 402 | /* |
@@ -635,14 +635,14 @@ | |||
635 | 635 | ||
636 | /* | 636 | /* |
637 | * JETI SPECTROMETER SPECBOS 1201 | 637 | * JETI SPECTROMETER SPECBOS 1201 |
638 | * http://www.jeti.com/products/sys/scb/scb1201.php | 638 | * http://www.jeti.com/cms/index.php/instruments/other-instruments/specbos-2101 |
639 | */ | 639 | */ |
640 | #define JETI_VID 0x0c6c | 640 | #define JETI_VID 0x0c6c |
641 | #define JETI_SPC1201_PID 0x04b2 | 641 | #define JETI_SPC1201_PID 0x04b2 |
642 | 642 | ||
643 | /* | 643 | /* |
644 | * FTDI USB UART chips used in construction projects from the | 644 | * FTDI USB UART chips used in construction projects from the |
645 | * Elektor Electronics magazine (http://elektor-electronics.co.uk) | 645 | * Elektor Electronics magazine (http://www.elektor.com/) |
646 | */ | 646 | */ |
647 | #define ELEKTOR_VID 0x0C7D | 647 | #define ELEKTOR_VID 0x0C7D |
648 | #define ELEKTOR_FT323R_PID 0x0005 /* RFID-Reader, issue 09-2006 */ | 648 | #define ELEKTOR_FT323R_PID 0x0005 /* RFID-Reader, issue 09-2006 */ |
diff --git a/drivers/usb/serial/garmin_gps.c b/drivers/usb/serial/garmin_gps.c index a42b29a695b2..26710b189918 100644 --- a/drivers/usb/serial/garmin_gps.c +++ b/drivers/usb/serial/garmin_gps.c | |||
@@ -1264,7 +1264,6 @@ static void garmin_read_bulk_callback(struct urb *urb) | |||
1264 | garmin_data_p->flags &= ~FLAGS_BULK_IN_ACTIVE; | 1264 | garmin_data_p->flags &= ~FLAGS_BULK_IN_ACTIVE; |
1265 | spin_unlock_irqrestore(&garmin_data_p->lock, flags); | 1265 | spin_unlock_irqrestore(&garmin_data_p->lock, flags); |
1266 | } | 1266 | } |
1267 | return; | ||
1268 | } | 1267 | } |
1269 | 1268 | ||
1270 | 1269 | ||
diff --git a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c index a0ab78ada25e..cd769ef24f8a 100644 --- a/drivers/usb/serial/io_edgeport.c +++ b/drivers/usb/serial/io_edgeport.c | |||
@@ -1467,8 +1467,6 @@ static void edge_throttle(struct tty_struct *tty) | |||
1467 | if (status != 0) | 1467 | if (status != 0) |
1468 | return; | 1468 | return; |
1469 | } | 1469 | } |
1470 | |||
1471 | return; | ||
1472 | } | 1470 | } |
1473 | 1471 | ||
1474 | 1472 | ||
@@ -1775,8 +1773,6 @@ static void edge_break(struct tty_struct *tty, int break_state) | |||
1775 | dbg("%s - error sending break set/clear command.", | 1773 | dbg("%s - error sending break set/clear command.", |
1776 | __func__); | 1774 | __func__); |
1777 | } | 1775 | } |
1778 | |||
1779 | return; | ||
1780 | } | 1776 | } |
1781 | 1777 | ||
1782 | 1778 | ||
@@ -2047,7 +2043,6 @@ static void process_rcvd_status(struct edgeport_serial *edge_serial, | |||
2047 | dbg("%s - Unrecognized IOSP status code %u", __func__, code); | 2043 | dbg("%s - Unrecognized IOSP status code %u", __func__, code); |
2048 | break; | 2044 | break; |
2049 | } | 2045 | } |
2050 | return; | ||
2051 | } | 2046 | } |
2052 | 2047 | ||
2053 | 2048 | ||
@@ -2100,8 +2095,6 @@ static void handle_new_msr(struct edgeport_port *edge_port, __u8 newMsr) | |||
2100 | 2095 | ||
2101 | /* Save the new modem status */ | 2096 | /* Save the new modem status */ |
2102 | edge_port->shadowMSR = newMsr & 0xf0; | 2097 | edge_port->shadowMSR = newMsr & 0xf0; |
2103 | |||
2104 | return; | ||
2105 | } | 2098 | } |
2106 | 2099 | ||
2107 | 2100 | ||
@@ -2148,8 +2141,6 @@ static void handle_new_lsr(struct edgeport_port *edge_port, __u8 lsrData, | |||
2148 | icount->parity++; | 2141 | icount->parity++; |
2149 | if (newLsr & LSR_FRM_ERR) | 2142 | if (newLsr & LSR_FRM_ERR) |
2150 | icount->frame++; | 2143 | icount->frame++; |
2151 | |||
2152 | return; | ||
2153 | } | 2144 | } |
2154 | 2145 | ||
2155 | 2146 | ||
@@ -2725,7 +2716,6 @@ static void change_port_settings(struct tty_struct *tty, | |||
2725 | baud = tty_termios_baud_rate(old_termios); | 2716 | baud = tty_termios_baud_rate(old_termios); |
2726 | tty_encode_baud_rate(tty, baud, baud); | 2717 | tty_encode_baud_rate(tty, baud, baud); |
2727 | } | 2718 | } |
2728 | return; | ||
2729 | } | 2719 | } |
2730 | 2720 | ||
2731 | 2721 | ||
@@ -2927,7 +2917,6 @@ static void load_application_firmware(struct edgeport_serial *edge_serial) | |||
2927 | 0x40, 0x4000, 0x0001, NULL, 0, 3000); | 2917 | 0x40, 0x4000, 0x0001, NULL, 0, 3000); |
2928 | 2918 | ||
2929 | release_firmware(fw); | 2919 | release_firmware(fw); |
2930 | return; | ||
2931 | } | 2920 | } |
2932 | 2921 | ||
2933 | 2922 | ||
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index 4dad27a0f22a..22506b095c4f 100644 --- a/drivers/usb/serial/io_ti.c +++ b/drivers/usb/serial/io_ti.c | |||
@@ -1571,8 +1571,6 @@ static void handle_new_msr(struct edgeport_port *edge_port, __u8 msr) | |||
1571 | } | 1571 | } |
1572 | } | 1572 | } |
1573 | tty_kref_put(tty); | 1573 | tty_kref_put(tty); |
1574 | |||
1575 | return; | ||
1576 | } | 1574 | } |
1577 | 1575 | ||
1578 | static void handle_new_lsr(struct edgeport_port *edge_port, int lsr_data, | 1576 | static void handle_new_lsr(struct edgeport_port *edge_port, int lsr_data, |
@@ -2424,7 +2422,6 @@ static void change_port_settings(struct tty_struct *tty, | |||
2424 | dbg("%s - error %d when trying to write config to device", | 2422 | dbg("%s - error %d when trying to write config to device", |
2425 | __func__, status); | 2423 | __func__, status); |
2426 | kfree(config); | 2424 | kfree(config); |
2427 | return; | ||
2428 | } | 2425 | } |
2429 | 2426 | ||
2430 | static void edge_set_termios(struct tty_struct *tty, | 2427 | static void edge_set_termios(struct tty_struct *tty, |
@@ -2445,7 +2442,6 @@ static void edge_set_termios(struct tty_struct *tty, | |||
2445 | return; | 2442 | return; |
2446 | /* change the port settings to the new ones specified */ | 2443 | /* change the port settings to the new ones specified */ |
2447 | change_port_settings(tty, edge_port, old_termios); | 2444 | change_port_settings(tty, edge_port, old_termios); |
2448 | return; | ||
2449 | } | 2445 | } |
2450 | 2446 | ||
2451 | static int edge_tiocmset(struct tty_struct *tty, struct file *file, | 2447 | static int edge_tiocmset(struct tty_struct *tty, struct file *file, |
diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c index efc72113216b..12ed594f5f80 100644 --- a/drivers/usb/serial/iuu_phoenix.c +++ b/drivers/usb/serial/iuu_phoenix.c | |||
@@ -807,7 +807,6 @@ static void read_rxcmd_callback(struct urb *urb) | |||
807 | iuu_uart_read_callback, port); | 807 | iuu_uart_read_callback, port); |
808 | result = usb_submit_urb(port->read_urb, GFP_ATOMIC); | 808 | result = usb_submit_urb(port->read_urb, GFP_ATOMIC); |
809 | dbg("%s - submit result = %d", __func__, result); | 809 | dbg("%s - submit result = %d", __func__, result); |
810 | return; | ||
811 | } | 810 | } |
812 | 811 | ||
813 | static int iuu_uart_on(struct usb_serial_port *port) | 812 | static int iuu_uart_on(struct usb_serial_port *port) |
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c index 297163c3c610..0791778a66f3 100644 --- a/drivers/usb/serial/keyspan.c +++ b/drivers/usb/serial/keyspan.c | |||
@@ -9,7 +9,7 @@ | |||
9 | the Free Software Foundation; either version 2 of the License, or | 9 | the Free Software Foundation; either version 2 of the License, or |
10 | (at your option) any later version. | 10 | (at your option) any later version. |
11 | 11 | ||
12 | See http://misc.nu/hugh/keyspan.html for more information. | 12 | See http://blemings.org/hugh/keyspan.html for more information. |
13 | 13 | ||
14 | Code in this driver inspired by and in a number of places taken | 14 | Code in this driver inspired by and in a number of places taken |
15 | from Brian Warner's original Keyspan-PDA driver. | 15 | from Brian Warner's original Keyspan-PDA driver. |
diff --git a/drivers/usb/serial/keyspan.h b/drivers/usb/serial/keyspan.h index bf3297ddd186..2d8baf6ac472 100644 --- a/drivers/usb/serial/keyspan.h +++ b/drivers/usb/serial/keyspan.h | |||
@@ -9,7 +9,7 @@ | |||
9 | the Free Software Foundation; either version 2 of the License, or | 9 | the Free Software Foundation; either version 2 of the License, or |
10 | (at your option) any later version. | 10 | (at your option) any later version. |
11 | 11 | ||
12 | See http://misc.nu/hugh/keyspan.html for more information. | 12 | See http://blemings.org/hugh/keyspan.html for more information. |
13 | 13 | ||
14 | Code in this driver inspired by and in a number of places taken | 14 | Code in this driver inspired by and in a number of places taken |
15 | from Brian Warner's original Keyspan-PDA driver. | 15 | from Brian Warner's original Keyspan-PDA driver. |
diff --git a/drivers/usb/serial/keyspan_pda.c b/drivers/usb/serial/keyspan_pda.c index 185fe9a7d4e0..a10dd5676ccc 100644 --- a/drivers/usb/serial/keyspan_pda.c +++ b/drivers/usb/serial/keyspan_pda.c | |||
@@ -292,7 +292,6 @@ static void keyspan_pda_rx_unthrottle(struct tty_struct *tty) | |||
292 | port->interrupt_in_urb->dev = port->serial->dev; | 292 | port->interrupt_in_urb->dev = port->serial->dev; |
293 | if (usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL)) | 293 | if (usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL)) |
294 | dbg(" usb_submit_urb(read urb) failed"); | 294 | dbg(" usb_submit_urb(read urb) failed"); |
295 | return; | ||
296 | } | 295 | } |
297 | 296 | ||
298 | 297 | ||
diff --git a/drivers/usb/serial/mct_u232.h b/drivers/usb/serial/mct_u232.h index 3a3f5e6b8f96..d325bb8cb583 100644 --- a/drivers/usb/serial/mct_u232.h +++ b/drivers/usb/serial/mct_u232.h | |||
@@ -10,10 +10,9 @@ | |||
10 | * | 10 | * |
11 | * This driver is for the device MCT USB-RS232 Converter (25 pin, Model No. | 11 | * This driver is for the device MCT USB-RS232 Converter (25 pin, Model No. |
12 | * U232-P25) from Magic Control Technology Corp. (there is also a 9 pin | 12 | * U232-P25) from Magic Control Technology Corp. (there is also a 9 pin |
13 | * Model No. U232-P9). See http://www.mct.com.tw/p_u232.html for further | 13 | * Model No. U232-P9). See http://www.mct.com.tw/products/product_us232.html |
14 | * information. The properties of this device are listed at the end of this | 14 | * for further information. The properties of this device are listed at the end |
15 | * file. This device is available from various distributors. I know Hana, | 15 | * of this file. This device was used in the Dlink DSB-S25. |
16 | * http://www.hana.de and D-Link, http://www.dlink.com/products/usb/dsbs25. | ||
17 | * | 16 | * |
18 | * All of the information about the device was acquired by using SniffUSB | 17 | * All of the information about the device was acquired by using SniffUSB |
19 | * on Windows98. The technical details of the reverse engineering are | 18 | * on Windows98. The technical details of the reverse engineering are |
@@ -458,7 +457,7 @@ static int mct_u232_calculate_baud_rate(struct usb_serial *serial, | |||
458 | * embedded UART. Exhaustive documentation for these is available at: | 457 | * embedded UART. Exhaustive documentation for these is available at: |
459 | * | 458 | * |
460 | * http://www.semiconductors.philips.com/pip/p87c52ubaa | 459 | * http://www.semiconductors.philips.com/pip/p87c52ubaa |
461 | * http://www.semiconductors.philips.com/pip/pdiusbd12 | 460 | * http://www.nxp.com/acrobat_download/various/PDIUSBD12_PROGRAMMING_GUIDE.pdf |
462 | * | 461 | * |
463 | * Thanks to Julian Highfield for the pointer to the Philips database. | 462 | * Thanks to Julian Highfield for the pointer to the Philips database. |
464 | * | 463 | * |
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index fd0b6414f459..7d3bc9a3e2b6 100644 --- a/drivers/usb/serial/mos7720.c +++ b/drivers/usb/serial/mos7720.c | |||
@@ -827,7 +827,6 @@ exit: | |||
827 | dev_err(&urb->dev->dev, | 827 | dev_err(&urb->dev->dev, |
828 | "%s - Error %d submitting control urb\n", | 828 | "%s - Error %d submitting control urb\n", |
829 | __func__, result); | 829 | __func__, result); |
830 | return; | ||
831 | } | 830 | } |
832 | 831 | ||
833 | /* | 832 | /* |
@@ -907,7 +906,6 @@ exit: | |||
907 | dev_err(&urb->dev->dev, | 906 | dev_err(&urb->dev->dev, |
908 | "%s - Error %d submitting control urb\n", | 907 | "%s - Error %d submitting control urb\n", |
909 | __func__, result); | 908 | __func__, result); |
910 | return; | ||
911 | } | 909 | } |
912 | 910 | ||
913 | /* | 911 | /* |
@@ -1227,8 +1225,6 @@ static void mos7720_break(struct tty_struct *tty, int break_state) | |||
1227 | mos7720_port->shadowLCR = data; | 1225 | mos7720_port->shadowLCR = data; |
1228 | write_mos_reg(serial, port->number - port->serial->minor, | 1226 | write_mos_reg(serial, port->number - port->serial->minor, |
1229 | LCR, mos7720_port->shadowLCR); | 1227 | LCR, mos7720_port->shadowLCR); |
1230 | |||
1231 | return; | ||
1232 | } | 1228 | } |
1233 | 1229 | ||
1234 | /* | 1230 | /* |
@@ -1746,7 +1742,6 @@ static void change_port_settings(struct tty_struct *tty, | |||
1746 | dbg("usb_submit_urb(read bulk) failed, status = %d", | 1742 | dbg("usb_submit_urb(read bulk) failed, status = %d", |
1747 | status); | 1743 | status); |
1748 | } | 1744 | } |
1749 | return; | ||
1750 | } | 1745 | } |
1751 | 1746 | ||
1752 | /* | 1747 | /* |
@@ -1803,7 +1798,6 @@ static void mos7720_set_termios(struct tty_struct *tty, | |||
1803 | dbg("usb_submit_urb(read bulk) failed, status = %d", | 1798 | dbg("usb_submit_urb(read bulk) failed, status = %d", |
1804 | status); | 1799 | status); |
1805 | } | 1800 | } |
1806 | return; | ||
1807 | } | 1801 | } |
1808 | 1802 | ||
1809 | /* | 1803 | /* |
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index 93dad5853cd5..5627993f9e41 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c | |||
@@ -1367,8 +1367,6 @@ static void mos7840_break(struct tty_struct *tty, int break_state) | |||
1367 | mos7840_port->shadowLCR); | 1367 | mos7840_port->shadowLCR); |
1368 | mos7840_set_uart_reg(port, LINE_CONTROL_REGISTER, | 1368 | mos7840_set_uart_reg(port, LINE_CONTROL_REGISTER, |
1369 | mos7840_port->shadowLCR); | 1369 | mos7840_port->shadowLCR); |
1370 | |||
1371 | return; | ||
1372 | } | 1370 | } |
1373 | 1371 | ||
1374 | /***************************************************************************** | 1372 | /***************************************************************************** |
@@ -1599,8 +1597,6 @@ static void mos7840_throttle(struct tty_struct *tty) | |||
1599 | if (status < 0) | 1597 | if (status < 0) |
1600 | return; | 1598 | return; |
1601 | } | 1599 | } |
1602 | |||
1603 | return; | ||
1604 | } | 1600 | } |
1605 | 1601 | ||
1606 | /***************************************************************************** | 1602 | /***************************************************************************** |
@@ -2075,8 +2071,6 @@ static void mos7840_change_port_settings(struct tty_struct *tty, | |||
2075 | mos7840_port->delta_msr_cond = 1; | 2071 | mos7840_port->delta_msr_cond = 1; |
2076 | dbg("mos7840_change_port_settings mos7840_port->shadowLCR is End %x", | 2072 | dbg("mos7840_change_port_settings mos7840_port->shadowLCR is End %x", |
2077 | mos7840_port->shadowLCR); | 2073 | mos7840_port->shadowLCR); |
2078 | |||
2079 | return; | ||
2080 | } | 2074 | } |
2081 | 2075 | ||
2082 | /***************************************************************************** | 2076 | /***************************************************************************** |
@@ -2145,7 +2139,6 @@ static void mos7840_set_termios(struct tty_struct *tty, | |||
2145 | mos7840_port->read_urb_busy = false; | 2139 | mos7840_port->read_urb_busy = false; |
2146 | } | 2140 | } |
2147 | } | 2141 | } |
2148 | return; | ||
2149 | } | 2142 | } |
2150 | 2143 | ||
2151 | /***************************************************************************** | 2144 | /***************************************************************************** |
diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c index 89c724c0ac0a..60f38d5e64fc 100644 --- a/drivers/usb/serial/omninet.c +++ b/drivers/usb/serial/omninet.c | |||
@@ -246,8 +246,6 @@ static void omninet_read_bulk_callback(struct urb *urb) | |||
246 | dev_err(&port->dev, | 246 | dev_err(&port->dev, |
247 | "%s - failed resubmitting read urb, error %d\n", | 247 | "%s - failed resubmitting read urb, error %d\n", |
248 | __func__, result); | 248 | __func__, result); |
249 | |||
250 | return; | ||
251 | } | 249 | } |
252 | 250 | ||
253 | static int omninet_write(struct tty_struct *tty, struct usb_serial_port *port, | 251 | static int omninet_write(struct tty_struct *tty, struct usb_serial_port *port, |
diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index d47b56e9e8ce..7481ff8a49e4 100644 --- a/drivers/usb/serial/sierra.c +++ b/drivers/usb/serial/sierra.c | |||
@@ -620,8 +620,6 @@ static void sierra_indat_callback(struct urb *urb) | |||
620 | dev_err(&port->dev, "resubmit read urb failed." | 620 | dev_err(&port->dev, "resubmit read urb failed." |
621 | "(%d)\n", err); | 621 | "(%d)\n", err); |
622 | } | 622 | } |
623 | |||
624 | return; | ||
625 | } | 623 | } |
626 | 624 | ||
627 | static void sierra_instat_callback(struct urb *urb) | 625 | static void sierra_instat_callback(struct urb *urb) |
diff --git a/drivers/usb/serial/spcp8x5.c b/drivers/usb/serial/spcp8x5.c index 329d311a35d9..765aa983bf58 100644 --- a/drivers/usb/serial/spcp8x5.c +++ b/drivers/usb/serial/spcp8x5.c | |||
@@ -441,7 +441,6 @@ static void spcp8x5_set_termios(struct tty_struct *tty, | |||
441 | spcp8x5_set_workMode(serial->dev, 0x000a, | 441 | spcp8x5_set_workMode(serial->dev, 0x000a, |
442 | SET_WORKING_MODE_U2C, priv->type); | 442 | SET_WORKING_MODE_U2C, priv->type); |
443 | } | 443 | } |
444 | return; | ||
445 | } | 444 | } |
446 | 445 | ||
447 | /* open the serial port. do some usb system call. set termios and get the line | 446 | /* open the serial port. do some usb system call. set termios and get the line |
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c index 0c70b4a621bb..fbc946797801 100644 --- a/drivers/usb/serial/usb_wwan.c +++ b/drivers/usb/serial/usb_wwan.c | |||
@@ -234,7 +234,6 @@ static void usb_wwan_indat_callback(struct urb *urb) | |||
234 | } | 234 | } |
235 | 235 | ||
236 | } | 236 | } |
237 | return; | ||
238 | } | 237 | } |
239 | 238 | ||
240 | static void usb_wwan_outdat_callback(struct urb *urb) | 239 | static void usb_wwan_outdat_callback(struct urb *urb) |
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c index 12ed8209ca72..3f9ac88d588c 100644 --- a/drivers/usb/serial/whiteheat.c +++ b/drivers/usb/serial/whiteheat.c | |||
@@ -655,8 +655,6 @@ static void whiteheat_release(struct usb_serial *serial) | |||
655 | } | 655 | } |
656 | kfree(info); | 656 | kfree(info); |
657 | } | 657 | } |
658 | |||
659 | return; | ||
660 | } | 658 | } |
661 | 659 | ||
662 | static int whiteheat_open(struct tty_struct *tty, struct usb_serial_port *port) | 660 | static int whiteheat_open(struct tty_struct *tty, struct usb_serial_port *port) |
@@ -955,8 +953,6 @@ static void whiteheat_throttle(struct tty_struct *tty) | |||
955 | spin_lock_irq(&info->lock); | 953 | spin_lock_irq(&info->lock); |
956 | info->flags |= THROTTLED; | 954 | info->flags |= THROTTLED; |
957 | spin_unlock_irq(&info->lock); | 955 | spin_unlock_irq(&info->lock); |
958 | |||
959 | return; | ||
960 | } | 956 | } |
961 | 957 | ||
962 | 958 | ||
@@ -975,8 +971,6 @@ static void whiteheat_unthrottle(struct tty_struct *tty) | |||
975 | 971 | ||
976 | if (actually_throttled) | 972 | if (actually_throttled) |
977 | rx_data_softint(&info->rx_work); | 973 | rx_data_softint(&info->rx_work); |
978 | |||
979 | return; | ||
980 | } | 974 | } |
981 | 975 | ||
982 | 976 | ||
diff --git a/drivers/usb/storage/Kconfig b/drivers/usb/storage/Kconfig index f2767cf2e229..49a489e03716 100644 --- a/drivers/usb/storage/Kconfig +++ b/drivers/usb/storage/Kconfig | |||
@@ -36,7 +36,7 @@ config USB_STORAGE_DATAFAB | |||
36 | depends on USB_STORAGE | 36 | depends on USB_STORAGE |
37 | help | 37 | help |
38 | Support for certain Datafab CompactFlash readers. | 38 | Support for certain Datafab CompactFlash readers. |
39 | Datafab has a web page at <http://www.datafabusa.com/>. | 39 | Datafab has a web page at <http://www.datafab.com/>. |
40 | 40 | ||
41 | If this driver is compiled as a module, it will be named ums-datafab. | 41 | If this driver is compiled as a module, it will be named ums-datafab. |
42 | 42 | ||