aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc/iowarrior.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/misc/iowarrior.c')
-rw-r--r--drivers/usb/misc/iowarrior.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/misc/iowarrior.c b/drivers/usb/misc/iowarrior.c
index d36f34e25bed..20bcfdd7eace 100644
--- a/drivers/usb/misc/iowarrior.c
+++ b/drivers/usb/misc/iowarrior.c
@@ -15,7 +15,6 @@
15 15
16#include <linux/module.h> 16#include <linux/module.h>
17#include <linux/usb.h> 17#include <linux/usb.h>
18#include <linux/init.h>
19#include <linux/slab.h> 18#include <linux/slab.h>
20#include <linux/sched.h> 19#include <linux/sched.h>
21#include <linux/mutex.h> 20#include <linux/mutex.h>
@@ -300,7 +299,7 @@ static ssize_t iowarrior_read(struct file *file, char __user *buffer,
300 do { 299 do {
301 atomic_set(&dev->overflow_flag, 0); 300 atomic_set(&dev->overflow_flag, 0);
302 if ((read_idx = read_index(dev)) == -1) { 301 if ((read_idx = read_index(dev)) == -1) {
303 /* queue emty */ 302 /* queue empty */
304 if (file->f_flags & O_NONBLOCK) 303 if (file->f_flags & O_NONBLOCK)
305 return -EAGAIN; 304 return -EAGAIN;
306 else { 305 else {