diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-07-10 00:38:31 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-07-10 00:38:31 -0400 |
commit | 4f179f71607382888c5ce5385a4ee136e1a2002a (patch) | |
tree | 5ebcde5405e27583bf6347d9a7878075453d08b4 /drivers/input/serio | |
parent | 2f1d076a220bf57270020a1e756a9f34108b9338 (diff) |
Input: serio_raw - shut up errorneous warning
drivers/input/serio/serio_raw.c: In function 'serio_raw_read':
drivers/input/serio/serio_raw.c:163: warning: 'c' may be used uninitialized in this function
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/serio')
-rw-r--r-- | drivers/input/serio/serio_raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/serio_raw.c b/drivers/input/serio/serio_raw.c index 887357666c68..0403622ae267 100644 --- a/drivers/input/serio/serio_raw.c +++ b/drivers/input/serio/serio_raw.c | |||
@@ -160,7 +160,7 @@ static ssize_t serio_raw_read(struct file *file, char __user *buffer, size_t cou | |||
160 | { | 160 | { |
161 | struct serio_raw_list *list = file->private_data; | 161 | struct serio_raw_list *list = file->private_data; |
162 | struct serio_raw *serio_raw = list->serio_raw; | 162 | struct serio_raw *serio_raw = list->serio_raw; |
163 | char c; | 163 | char uninitialized_var(c); |
164 | ssize_t retval = 0; | 164 | ssize_t retval = 0; |
165 | 165 | ||
166 | if (!serio_raw->serio) | 166 | if (!serio_raw->serio) |