Skip to content

Commit

Permalink
Goodbye BUFFER DUMP reading and writing
Browse files Browse the repository at this point in the history
  • Loading branch information
javilonas committed May 15, 2015
1 parent 3aaa717 commit a615a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/usb/rmnet_usb_ctrl.c
Expand Up @@ -664,7 +664,7 @@ static ssize_t rmnet_ctl_read(struct file *file, char __user *buf, size_t count,
kfree(list_elem);
DBG("%s: Returning %d bytes to %s\n", __func__, bytes_to_read,
dev->name);
DUMP_BUFFER("Read: ", bytes_to_read, buf);
//DUMP_BUFFER("Read: ", bytes_to_read, buf);

return bytes_to_read;
}
Expand Down Expand Up @@ -722,7 +722,7 @@ static ssize_t rmnet_ctl_write(struct file *file, const char __user * buf,
kfree(cpkt);
return status;
}
DUMP_BUFFER("Write: ", size, buf);
//DUMP_BUFFER("Write: ", size, buf);

status = rmnet_usb_ctrl_write_cmd(dev->cudev,
USB_CDC_SEND_ENCAPSULATED_COMMAND, 0, cpkt->data,
Expand Down

0 comments on commit a615a6b

Please sign in to comment.