selinux: Unify for- and while-loop style
commitdbc74c65b3fd841985935f676388c82d6b85c485
authorVesa-Matti Kari <vmkari@cc.helsinki.fi>
Thu, 7 Aug 2008 00:18:20 +0000 (7 03:18 +0300)
committerJames Morris <jmorris@namei.org>
Thu, 14 Aug 2008 22:40:47 +0000 (15 08:40 +1000)
tree8ebbf88795fa70f56a9eb64bfc0b21dd8666d97f
parent421fae06be9e0dac45747494756b3580643815f9
selinux: Unify for- and while-loop style

Replace "thing != NULL" comparisons with just "thing" to make
the code look more uniform (mixed styles were used even in the
same source file).

Signed-off-by: Vesa-Matti Kari <vmkari@cc.helsinki.fi>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/avtab.c
security/selinux/ss/conditional.c
security/selinux/ss/ebitmap.c
security/selinux/ss/hashtab.c
security/selinux/ss/services.c
security/selinux/ss/sidtab.c