aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorNamit Gupta <[email protected]>2018-06-20 19:26:19 +0530
committerPetr Mladek <[email protected]>2018-06-27 16:16:28 +0200
commit63842c21347ecf4685d6ec008e667e61b0ead6e5 (patch)
tree54ddba7dade806fd43715c11bd4c2816042c3a3e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent22eceb8bf3e8f1f9b2f566062d06b25807725d7f (diff)
printk: Remove unnecessary kmalloc() from syslog during clear
When the request is only for clearing logs, there is no need for allocation/deallocation. Only the indexes need to be reset and returned. Rest of the patch is mostly made up of changes because of indention. Link: http://lkml.kernel.org/r/20180620135951epcas5p3bd2a8f25ec689ca333bce861b527dba2~54wyKcT0_3155531555epcas5p3y@epcas5p3.samsung.com Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Namit Gupta <[email protected]> Signed-off-by: Himanshu Maithani <[email protected]> Reviewed-by: Steven Rostedt (VMware) <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions