aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/image
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-10-24 16:41:39 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-24 16:41:39 -0400
commit229aebb873e29726b91e076161649cf45154b0bf (patch)
treeacc02a3702215bce8d914f4c8cc3d7a1382b1c67 /drivers/usb/image
parent8de547e1824437f3c6af180d3ed2162fa4b3f389 (diff)
parent50a23e6eec6f20d55a3a920e47adb455bff6046e (diff)
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits) Update broken web addresses in arch directory. Update broken web addresses in the kernel. Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget Revert "Fix typo: configuation => configuration" partially ida: document IDA_BITMAP_LONGS calculation ext2: fix a typo on comment in ext2/inode.c drivers/scsi: Remove unnecessary casts of private_data drivers/s390: Remove unnecessary casts of private_data net/sunrpc/rpc_pipe.c: Remove unnecessary casts of private_data drivers/infiniband: Remove unnecessary casts of private_data drivers/gpu/drm: Remove unnecessary casts of private_data kernel/pm_qos_params.c: Remove unnecessary casts of private_data fs/ecryptfs: Remove unnecessary casts of private_data fs/seq_file.c: Remove unnecessary casts of private_data arm: uengine.c: remove C99 comments arm: scoop.c: remove C99 comments Fix typo configue => configure in comments Fix typo: configuation => configuration Fix typo interrest[ing|ed] => interest[ing|ed] Fix various typos of valid in comments ... Fix up trivial conflicts in: drivers/char/ipmi/ipmi_si_intf.c drivers/usb/gadget/rndis.c net/irda/irnet/irnet_ppp.c
Diffstat (limited to 'drivers/usb/image')
-rw-r--r--drivers/usb/image/microtek.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c
index 3a6bcd5fee0..5a47805d958 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
415static void mts_transfer_done( struct urb *transfer ) 413static 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
503static void mts_do_sg (struct urb* transfer) 495static 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
528static const u8 mts_read_image_sig[] = { 0x28, 00, 00, 00 }; 519static const u8 mts_read_image_sig[] = { 0x28, 00, 00, 00 };