staging: android: ion: Remove unused rbtree for ion_buffer
authorLecopzer Chen <lecopzer.chen@mediatek.com>
Fri, 12 Jul 2019 08:47:17 +0000 (16:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2019 07:44:36 +0000 (09:44 +0200)
commit3e6998b17f36ab4f8f5608b3599df7b3c17d97a5
treecc84eb09dc6f317b44af82bfb8e9ff53033f14e9
parentc4011dde241d371972788a735cd1b5d547991d46
staging: android: ion: Remove unused rbtree for ion_buffer

ion_buffer_add() insert ion_buffer into rbtree every time creating
an ion_buffer but never use it after ION reworking.
Also, buffer_lock protects only rbtree operation, remove it together.

Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com>
Cc: YJ Chiang <yj.chiang@mediatek.com>
Cc: Lecopzer Chen <lecopzer.chen@mediatek.com>
Acked-by: Laura Abbott <labbott@redhat.com>
Link: https://lore.kernel.org/r/20190712084717.12441-1-lecopzer.chen@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion.h