ANDROID: sdcardfs: fix itnull.cocci warnings
authorJulia Lawall <julia.lawall@lip6.fr>
Wed, 1 Jun 2016 17:28:49 +0000 (10:28 -0700)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:00 +0000 (19:40 -0800)
commitc8512dd632e5e54b33834a26ee1dc8122c4c74d5
tree656e63f1bd5a27f3a064dc65eb3a57789100d7d7
parent6f499f0ca341ec71dd7eb1858aed0951563f0a82
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