Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4e26d6c authored by Wayne Porter's avatar Wayne Porter Committed by Greg Kroah-Hartman
Browse files

staging: android: ion: fix warning found by checkpatch.pl



Fix checkpatch.pl warning:
WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: default avatarWayne Porter <wporter82@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b19ca1e5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -82,9 +82,9 @@ static int hi6220_ion_remove(struct platform_device *pdev)

	ipdev = platform_get_drvdata(pdev);

	for (i = 0; i < ipdev->data->nr; i++) {
	for (i = 0; i < ipdev->data->nr; i++)
		ion_heap_destroy(ipdev->heaps[i]);
	}

	ion_destroy_platform_data(ipdev->data);
	ion_device_destroy(ipdev->idev);