| commit | 9c8b255143f4bb7a6e0c99d4a88b2761330dad68 | [log] [tgz] |
|---|---|---|
| author | Jiri Kosina <jkosina@suse.cz> | Mon Jun 18 17:08:08 2012 +0200 |
| committer | andrew.boren <andrew.boren@gmail.com> | Sun Dec 30 13:55:21 2012 -0700 |
| tree | ab510374d1f5a9c7e01c86e553ec34506e40cd4f | |
| parent | 17129f2363583721d78d662a0258368aebec49b4 [diff] |
HID: uhid: silence gcc warning gcc is giving me: drivers/hid/uhid.c: In function ‘uhid_hid_get_raw’: drivers/hid/uhid.c:157: warning: ‘len’ may be used uninitialized in this function which is clearly bogus, as - when used as memcpy() argument, it's initialized properly - the code is structured in a way that either 'ret' or 'len' is always initialized, so the return statement always has an initialized value. Signed-off-by: Jiri Kosina <jkosina@suse.cz>