Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376739
b: refs/heads/master
c: d8a1d0d
h: refs/heads/master
i:
  376737: 93277fb
  376735: 60eb624
v: v3
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Jun 4, 2013
1 parent 390d6d9 commit 945375f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 8a2f132a01c2dd4c3905fa560f92019761ed72b1
refs/heads/master: d8a1d0d54d5fdac0347b75e9afd554b3dfaa465f
6 changes: 0 additions & 6 deletions trunk/drivers/usb/serial/zte_ev.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ static int zte_ev_usb_serial_open(struct tty_struct *tty,
int len;
unsigned char *buf;

if (port->number != 0)
return -ENODEV;

buf = kmalloc(MAX_SETUP_DATA_SIZE, GFP_KERNEL);
if (!buf)
return -ENOMEM;
Expand Down Expand Up @@ -166,9 +163,6 @@ static void zte_ev_usb_serial_close(struct usb_serial_port *port)
int len;
unsigned char *buf;

if (port->number != 0)
return;

buf = kmalloc(MAX_SETUP_DATA_SIZE, GFP_KERNEL);
if (!buf)
return;
Expand Down

0 comments on commit 945375f

Please sign in to comment.