Files
linux/drivers
Jiri Kosina 1a8b294ce6 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>
2012-06-18 17:08:30 +02:00
..
…
…
…
…
…
…
…
…
…
…
2012-06-18 17:08:30 +02:00
…
…
…
2012-05-14 13:37:45 -07:00
…
…
…
…
…
…
…
…
…
…
2012-05-12 09:43:11 +08:00
…
…
…
…
…
…
…