aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/sysfs.c
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2013-01-15 22:17:19 +1000
committerAntonio Quartulli <ordex@autistici.org>2013-03-13 22:53:48 +0100
commitc1d07431b9f7fe3c5eb372f3a35d7cd7a18c3b15 (patch)
treef50b0439743d4c59e030902e2f5a4d8c4e198ba0 /net/batman-adv/sysfs.c
parentbatman-adv: Return reason for failure in batadv_check_unicast_packet() (diff)
downloadlinux-dev-c1d07431b9f7fe3c5eb372f3a35d7cd7a18c3b15.tar.xz
linux-dev-c1d07431b9f7fe3c5eb372f3a35d7cd7a18c3b15.zip
batman-adv: don't use !! in bool conversion
In C standard any expression different from 0 will be converted to 'true' when casting to bool (whatever is the length of the value). Therefore all the "!!" conversions can be removed. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/sysfs.c')
0 files changed, 0 insertions, 0 deletions