Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154322
b: refs/heads/master
c: f4fa446
h: refs/heads/master
v: v3
  • Loading branch information
Thadeu Lima de Souza Cascardo authored and Linus Torvalds committed Jun 25, 2009
1 parent e10ed34 commit 18b7238
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 922b13565b6a826a925f9f91f053dc9cb0d6210e
refs/heads/master: f4fa446883959c1c5f314a043e750dbfe3728c55
3 changes: 3 additions & 0 deletions trunk/drivers/usb/serial/usb-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ static void serial_close(struct tty_struct *tty, struct file *filp)
{
struct usb_serial_port *port = tty->driver_data;

if (!port)
return;

dbg("%s - port %d", __func__, port->number);


Expand Down

0 comments on commit 18b7238

Please sign in to comment.