commit | 30f88a42b65858d777b8dfb40bb222fa31d5f0d9 | [log] [tgz] |
---|---|---|
author | Shailendra Verma <shailendra.v@samsung.com> | Thu Nov 10 07:52:38 2016 -0200 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Nov 22 12:21:25 2016 -0200 |
tree | b9e47d7e3cd9684829b2a6c243fc3cf7e1268e4c | |
parent | 2bfc04d64db66fa62021a988740e8028f018b9c3 [diff] |
[media] staging: lirc: Improvement in code readability There is no need to call kfree() if memdup_user() fails, as no memory was allocated and the error in the error-valued pointer should be returned. Signed-off-by: Shailendra Verma <shailendra.v@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>