Tag: 698f140d67e0a92b6d4606c67fdf42b3853c34b6

staging: android: ion: Deletion of unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions ion_heap_destroy() and vfree() perform also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Greg Kroah-Hartman — drivers/staging/android/ion/ion.c | 6 ++—- drivers/staging/android/ion/ion_dummy_driver.c | 6 ++—- drivers/staging/android/ion/tegra/tegra_ion.c | 6 ++—- 3 files changed, 6 …

Continue reading