diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-07-30 13:03:16 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-30 23:36:03 -0400 |
commit | 24ed693da0cefede7382d498dd5e9a83f0a21c38 (patch) | |
tree | 591bd034ff892df8b78c0695472ed0ff618422e9 /drivers/media/dvb | |
parent | 660e22c7b008f1b21283cc2d786b2dd7c7790440 (diff) |
[media] DVB: dib0700, remove double \n's from log
err() already adds \n to the end of the format string. So remove one
more \n from formatting strings in the dib0700 driver.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dib0700_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_core.c b/drivers/media/dvb/dvb-usb/dib0700_core.c index 7e9e00fae04e..ef87229de6af 100644 --- a/drivers/media/dvb/dvb-usb/dib0700_core.c +++ b/drivers/media/dvb/dvb-usb/dib0700_core.c | |||
@@ -768,13 +768,13 @@ int dib0700_rc_setup(struct dvb_usb_device *d) | |||
768 | /* Starting in firmware 1.20, the RC info is provided on a bulk pipe */ | 768 | /* Starting in firmware 1.20, the RC info is provided on a bulk pipe */ |
769 | purb = usb_alloc_urb(0, GFP_KERNEL); | 769 | purb = usb_alloc_urb(0, GFP_KERNEL); |
770 | if (purb == NULL) { | 770 | if (purb == NULL) { |
771 | err("rc usb alloc urb failed\n"); | 771 | err("rc usb alloc urb failed"); |
772 | return -ENOMEM; | 772 | return -ENOMEM; |
773 | } | 773 | } |
774 | 774 | ||
775 | purb->transfer_buffer = kzalloc(RC_MSG_SIZE_V1_20, GFP_KERNEL); | 775 | purb->transfer_buffer = kzalloc(RC_MSG_SIZE_V1_20, GFP_KERNEL); |
776 | if (purb->transfer_buffer == NULL) { | 776 | if (purb->transfer_buffer == NULL) { |
777 | err("rc kzalloc failed\n"); | 777 | err("rc kzalloc failed"); |
778 | usb_free_urb(purb); | 778 | usb_free_urb(purb); |
779 | return -ENOMEM; | 779 | return -ENOMEM; |
780 | } | 780 | } |
@@ -786,7 +786,7 @@ int dib0700_rc_setup(struct dvb_usb_device *d) | |||
786 | 786 | ||
787 | ret = usb_submit_urb(purb, GFP_ATOMIC); | 787 | ret = usb_submit_urb(purb, GFP_ATOMIC); |
788 | if (ret) { | 788 | if (ret) { |
789 | err("rc submit urb failed\n"); | 789 | err("rc submit urb failed"); |
790 | kfree(purb->transfer_buffer); | 790 | kfree(purb->transfer_buffer); |
791 | usb_free_urb(purb); | 791 | usb_free_urb(purb); |
792 | } | 792 | } |