linux/net/batman-adv
Markus Pargmann 8f34b38878 batman-adv: iv_ogm_can_aggregate, code readability
This patch tries to increase code readability by negating the first if
block and rearranging some of the other conditional blocks. This way we
save an indentation level, we also save some allocation that is not
necessary for one of the conditions.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2015-05-29 10:13:37 +02:00
..
bat_algo.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
bat_iv_ogm.c batman-adv: iv_ogm_can_aggregate, code readability 2015-05-29 10:13:37 +02:00
bitarray.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
bitarray.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
bridge_loop_avoidance.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
bridge_loop_avoidance.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
debugfs.c batman-adv: debugfs, avoid compiling for !DEBUG_FS 2015-05-29 10:13:35 +02:00
debugfs.h batman-adv: debugfs, avoid compiling for !DEBUG_FS 2015-05-29 10:13:35 +02:00
distributed-arp-table.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
distributed-arp-table.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
fragmentation.c batman-adv: Use only queued fragments when merging 2015-05-29 10:13:35 +02:00
fragmentation.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
gateway_client.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
gateway_client.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
gateway_common.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
gateway_common.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
hard-interface.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
hard-interface.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
hash.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
hash.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
icmp_socket.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
icmp_socket.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
Kconfig batman-adv: Kconfig, Add missing DEBUG_FS dependency 2015-01-07 22:17:11 +01:00
main.c batman-adv: tvlv realloc, move error handling into if block 2015-05-29 10:13:36 +02:00
main.h batman-adv: checkpatch - spaces preferred around that '*' 2015-05-29 10:13:37 +02:00
Makefile batman-adv: Makefile, Sort alphabetically 2015-05-29 10:13:36 +02:00
multicast.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
multicast.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
network-coding.c batman-adv: checkpatch - spaces preferred around that '*' 2015-05-29 10:13:37 +02:00
network-coding.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
originator.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
originator.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
packet.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
routing.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
routing.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
send.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
send.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
soft-interface.c batman-adv: checkpatch - comparison to NULL could be rewritten 2015-05-29 10:13:37 +02:00
soft-interface.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
sysfs.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
sysfs.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
translation-table.c batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
translation-table.h batman-adv: update copyright years for 2015 2015-05-29 10:13:35 +02:00
types.h batman-adv: Check total_size when queueing fragments 2015-05-29 10:13:35 +02:00