projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ac43d1
)
USB: remove useless check in mos7840 found by coverity
author
Oliver Neukum
<oneukum@suse.de>
Wed, 2 May 2007 08:17:50 +0000
(10:17 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 23 May 2007 06:45:48 +0000
(23:45 -0700)
this useless check should be removed.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7840.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/mos7840.c
b/drivers/usb/serial/mos7840.c
index
2366e7b
..
36620c6
100644
(file)
--- a/
drivers/usb/serial/mos7840.c
+++ b/
drivers/usb/serial/mos7840.c
@@
-769,11
+769,6
@@
static void mos7840_bulk_out_data_callback(struct urb *urb)
return;
}
- if (!mos7840_port) {
- dbg("%s", "NULL mos7840_port pointer \n");
- return;
- }
-
if (mos7840_port_paranoia_check(mos7840_port->port, __FUNCTION__)) {
dbg("%s", "Port Paranoia failed \n");
return;