diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-04-02 07:44:32 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-04-04 09:49:12 +0200 |
commit | 85d08340c3de1126467db4e69140fe483d91c114 (patch) | |
tree | 8736e4301116f766974e7441a5d58d32c28f7785 /drivers/hid/hidraw.c | |
parent | d66435cc7da95964cb386674bd82ec12ca66320a (diff) |
HID: roccat: silence an uninitialized variable warning
My static checker complains because we use "dev_id" before we check for
errors so it could be uninitialized. Fix this by moving the error
handling forward a couple lines.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hidraw.c')
0 files changed, 0 insertions, 0 deletions