diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2010-05-19 22:41:10 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-05-25 09:47:19 +0200 |
commit | 83efb8fe671af3c7b5613868aadc93ce973b6c3d (patch) | |
tree | c78ee29b7c17139ec4cf9deb5c0ec5ef9b4d448b /drivers/hid/hidraw.c | |
parent | d515e86e639890b33a09390d062b0831664f04a2 (diff) |
HID: remove unused variable from hidraw_read
Removed unused variable from hidraw_read.
Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hidraw.c')
-rw-r--r-- | drivers/hid/hidraw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c index 3ccd47850677..47d70c523d93 100644 --- a/drivers/hid/hidraw.c +++ b/drivers/hid/hidraw.c @@ -46,7 +46,6 @@ static ssize_t hidraw_read(struct file *file, char __user *buffer, size_t count, { struct hidraw_list *list = file->private_data; int ret = 0, len; - char *report; DECLARE_WAITQUEUE(wait, current); mutex_lock(&list->read_mutex); @@ -84,7 +83,6 @@ static ssize_t hidraw_read(struct file *file, char __user *buffer, size_t count, if (ret) goto out; - report = list->buffer[list->tail].value; len = list->buffer[list->tail].len > count ? count : list->buffer[list->tail].len; |