Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326108
b: refs/heads/master
c: c6ab015
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Sep 18, 2012
1 parent 3bd2afd commit 043cba7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 3033bc8d74c1a9d9104b9f231283e780e6dd8de7
refs/heads/master: c6ab0158007e5ed9108fd74fe0f61b5b2a326eb9
5 changes: 1 addition & 4 deletions trunk/drivers/usb/serial/ezusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ int ezusb_writememory(struct usb_device *dev, int address,
int result;
unsigned char *transfer_buffer;

if (!dev) {
printk(KERN_ERR "ezusb: %s - no physical device present, "
"failing.\n", __func__);
if (!dev)
return -ENODEV;
}

transfer_buffer = kmemdup(data, length, GFP_KERNEL);
if (!transfer_buffer) {
Expand Down

0 comments on commit 043cba7

Please sign in to comment.