Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HID: alps: Save a memory allocation in 't4_read_write_register()' whe…
…n writing data if 'read_flag' is false, there is no need to allocate and free memory. We can simply avoid the memory allocation and pass NULL to kfree. Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
- Loading branch information