aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/image/microtek.c
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2009-08-18 10:17:45 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-23 09:46:34 -0400
commit877accca79b706afe5d78b9a92cf4f22919fb2b0 (patch)
tree1e20d910a83963e389b06c4487129c57a60a4527 /drivers/usb/image/microtek.c
parent8e8dce065088833fc418bfa5fbf035cb0726c04c (diff)
USB: remove unneeded printks from microtek driver
These printks can be removed as they only provide information about the driver not the device and nobody has ever provided feedback. Signed-off-by: Oliver Neukum <oliver@neukum.org>
Diffstat (limited to 'drivers/usb/image/microtek.c')
-rw-r--r--drivers/usb/image/microtek.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c
index 4541dfcea88f..459a7287fe01 100644
--- a/drivers/usb/image/microtek.c
+++ b/drivers/usb/image/microtek.c
@@ -653,33 +653,6 @@ static struct scsi_host_template mts_scsi_host_template = {
653 .max_sectors= 256, /* 128 K */ 653 .max_sectors= 256, /* 128 K */
654}; 654};
655 655
656struct vendor_product
657{
658 char* name;
659 enum
660 {
661 mts_sup_unknown=0,
662 mts_sup_alpha,
663 mts_sup_full
664 }
665 support_status;
666} ;
667
668
669/* These are taken from the msmUSB.inf file on the Windows driver CD */
670static const struct vendor_product mts_supported_products[] =
671{
672 { "Phantom 336CX", mts_sup_unknown},
673 { "Phantom 336CX", mts_sup_unknown},
674 { "Scanmaker X6", mts_sup_alpha},
675 { "Phantom C6", mts_sup_unknown},
676 { "Phantom 336CX", mts_sup_unknown},
677 { "ScanMaker V6USL", mts_sup_unknown},
678 { "ScanMaker V6USL", mts_sup_unknown},
679 { "Scanmaker V6UL", mts_sup_unknown},
680 { "Scanmaker V6UPL", mts_sup_alpha},
681};
682
683/* The entries of microtek_table must correspond, line-by-line to 656/* The entries of microtek_table must correspond, line-by-line to
684 the entries of mts_supported_products[]. */ 657 the entries of mts_supported_products[]. */
685 658
@@ -711,7 +684,6 @@ static int mts_usb_probe(struct usb_interface *intf,
711 int err_retval = -ENOMEM; 684 int err_retval = -ENOMEM;
712 685
713 struct mts_desc * new_desc; 686 struct mts_desc * new_desc;
714 struct vendor_product const* p;
715 struct usb_device *dev = interface_to_usbdev (intf); 687 struct usb_device *dev = interface_to_usbdev (intf);
716 688
717 /* the current altsetting on the interface we're probing */ 689 /* the current altsetting on the interface we're probing */
@@ -726,15 +698,6 @@ static int mts_usb_probe(struct usb_interface *intf,
726 698
727 MTS_DEBUG_GOT_HERE(); 699 MTS_DEBUG_GOT_HERE();
728 700
729 p = &mts_supported_products[id - mts_usb_ids];
730
731 MTS_DEBUG_GOT_HERE();
732
733 MTS_DEBUG( "found model %s\n", p->name );
734 if ( p->support_status != mts_sup_full )
735 MTS_MESSAGE( "model %s is not known to be fully supported, reports welcome!\n",
736 p->name );
737
738 /* the current altsetting on the interface we're probing */ 701 /* the current altsetting on the interface we're probing */
739 altsetting = intf->cur_altsetting; 702 altsetting = intf->cur_altsetting;
740 703