OSDN Git Service

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>
Tue, 14 Aug 2018 12:17:11 +0000 (17:47 +0530)
commitaa6b07a700dcb1e3505b30f03a2cf93398bf777c
tree17bacb157a11b459b7631475b4d2a05df83d4cd5
parent28d52932588b92ed5a5a516f3c0f8947011de882
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