OSDN Git Service

[media] siano: remove a bogus printk line
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 19 Mar 2013 15:59:50 +0000 (12:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:53:42 +0000 (07:53 -0300)
commit07bb6bdddfa09f01024e5caeb2bab8836b8de13e
tree35dedbd1516a1fc039d63e3b2a14b0eca2ef4656
parentbeb91d461ba19c47ce42a8ff5b3e5be39be10473
[media] siano: remove a bogus printk line

The logic that detects the types of sms devices is bogus. It returns
[ 4645.187790] smsusb_init_device: line: 372: Unspecified sms device type!
For several devices, including the one I have (SMS_RIO). In a matter
of fact, the right thing to do there is to print an error only if
the device is really unknown (SMS_UNKNOWN_TYPE).

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/siano/smsusb.c