Commit d0d2d872 authored by Pete Zaitcev's avatar Pete Zaitcev Committed by Greg Kroah-Hartman

[PATCH] USB: fix comment in usblp

I know Linus is not taking cleanups at this point, but perhaps
you can delete it in your tree. Seems like someone (Oliver?)
fixed all the garbage in old printer.c, so the comment is not
needed anymore.

I reviewed changes, and usblp.c looks correct. I'm doing backport
to 2.4 for Fedora right now.
parent 65dacb23
...@@ -706,8 +706,6 @@ static ssize_t usblp_read(struct file *file, char __user *buffer, size_t count, ...@@ -706,8 +706,6 @@ static ssize_t usblp_read(struct file *file, char __user *buffer, size_t count,
goto done; goto done;
} }
// FIXME: only use urb->status inside completion
// callbacks; this way is racey...
add_wait_queue(&usblp->wait, &wait); add_wait_queue(&usblp->wait, &wait);
while (1==1) { while (1==1) {
if (signal_pending(current)) { if (signal_pending(current)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment