diff options
| author | Dan Carpenter <[email protected]> | 2016-04-02 07:45:01 +0300 | 
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2016-04-04 09:49:12 +0200 | 
| commit | 6edac6fde59e231bd297ebcbc3d1bd395006cd1d (patch) | |
| tree | 492878f8c2df2b2418b4fa3581a1ef7ff2ff8fcb /include/linux/compiler-gcc.h | |
| parent | 85d08340c3de1126467db4e69140fe483d91c114 (diff) | |
HID: hidraw: silence an uninitialized variable warning
My static checker complains that "devid" can be uninitialized if
alloc_chrdev_region() fails.  Fix this by moving the error hanling
forward a couple lines.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions