From: Jiri Kosina Date: Mon, 18 Jun 2012 15:08:08 +0000 (+0200) Subject: HID: uhid: silence gcc warning X-Git-Tag: v3.6-rc1~119^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a8b294ce6b0cdab438175eed45ebb088bdd659a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed