ANDROID: sdcardfs: fix itnull.cocci warnings
authorJulia Lawall <julia.lawall@lip6.fr>
Wed, 1 Jun 2016 17:28:49 +0000 (10:28 -0700)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:16 +0000 (18:03 +0200)
commit80d18bd6e2a362f4042ce672cc531acf8054793e
treefeb0dd9c2f8d5806c209ce76ae512b96f944a8a7
parentf7400832bf6e3dc1c3a44f02a9f9fd434078210e
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

Change-Id: I51033a2649eb39451862b35b6358fe5cfe25c5f5
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