mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
ion: msm: Remove unnecessary free when destroying an ION buffer
When an ION buffer is destroyed, the dma-buf release path will try to free the exporter name field in the dma-buf. However, this is not needed, as the field is not populated with dynamically allocated memory. Thus, remove it. Change-Id: Ieda30c2130d80ef3e6016e1c574f0524fce14fcc Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
parent
e4dee59fa1
commit
2a230de1e9
1 changed files with 0 additions and 1 deletions
|
|
@ -325,7 +325,6 @@ static void ion_dma_buf_release(struct dma_buf *dmabuf)
|
|||
struct ion_buffer *buffer = dmabuf->priv;
|
||||
|
||||
_ion_buffer_destroy(buffer);
|
||||
kfree(dmabuf->exp_name);
|
||||
}
|
||||
|
||||
static void *ion_dma_buf_vmap(struct dma_buf *dmabuf)
|
||||
|
|
|
|||
Loading…
Reference in a new issue