Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61934
b: refs/heads/master
c: e94fa28
h: refs/heads/master
v: v3
  • Loading branch information
Florin Malita authored and Greg Kroah-Hartman committed Jul 20, 2007
1 parent 8e4d19e commit 39e768d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 195af2cce5ff81c4609c7ba585b6698a7771cbfc
refs/heads/master: e94fa28f137813c2f6e05470b41bd8f3c5422a04
5 changes: 0 additions & 5 deletions trunk/drivers/usb/serial/mos7720.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@ static void mos7720_interrupt_callback(struct urb *urb)

dbg("%s"," : Entering\n");

if (!urb) {
dbg("%s","Invalid Pointer !!!!:\n");
return;
}

switch (status) {
case 0:
/* success */
Expand Down
19 changes: 0 additions & 19 deletions trunk/drivers/usb/serial/mos7840.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,6 @@ static void mos7840_control_callback(struct urb *urb)
int result = 0;
int status = urb->status;

if (!urb) {
dbg("%s", "Invalid Pointer !!!!:\n");
return;
}

mos7840_port = (struct moschip_port *)urb->context;

switch (status) {
Expand Down Expand Up @@ -525,10 +520,6 @@ static void mos7840_interrupt_callback(struct urb *urb)
int status = urb->status;

dbg("%s", " : Entering\n");
if (!urb) {
dbg("%s", "Invalid Pointer !!!!:\n");
return;
}

switch (status) {
case 0:
Expand Down Expand Up @@ -676,11 +667,6 @@ static void mos7840_bulk_in_callback(struct urb *urb)
struct tty_struct *tty;
int status = urb->status;

if (!urb) {
dbg("%s", "Invalid Pointer !!!!:\n");
return;
}

if (status) {
dbg("nonzero read bulk status received: %d", status);
return;
Expand Down Expand Up @@ -753,11 +739,6 @@ static void mos7840_bulk_out_data_callback(struct urb *urb)
int status = urb->status;
int i;

if (!urb) {
dbg("%s", "Invalid Pointer !!!!:\n");
return;
}

mos7840_port = (struct moschip_port *)urb->context;
spin_lock(&mos7840_port->pool_lock);
for (i = 0; i < NUM_URBS; i++) {
Expand Down

0 comments on commit 39e768d

Please sign in to comment.