ANDROID: sdcardfs: fix itnull.cocci warnings
authorJulia Lawall <julia.lawall@lip6.fr>
Wed, 1 Jun 2016 17:28:49 +0000 (10:28 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 18 Aug 2016 13:26:03 +0000 (18:56 +0530)
commit6fcda640710c9972321673f8290cdbb5bdfd06b5
tree43549f9bd302d07afd21ca5aab9ca48c678d3de7
parentdf9e01a6c5d4d31aeb109c60fd964da6b5312629
ANDROID: sdcardfs: fix itnull.cocci warnings

List_for_each_entry has the property that the first argument is always
bound to a real list element, never NULL, so testing dentry is not needed.

Generated by: scripts/coccinelle/iterators/itnull.cocci

Cc: Daniel Rosenberg <drosen@google.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Guenter Roeck <groeck@chromium.org>
fs/sdcardfs/derived_perm.c