linux/net/batman-adv
Sven Eckelmann a0c77227ff batman-adv: Remove unnecessary check for orig_ifinfo not NULL
orig_ifinfo is dereferenced multiple times in batadv_iv_ogm_update_seqnos
before the check for NULL is done. The function also exists at the
beginning when orig_ifinfo would have been NULL. This makes the check at
the end unnecessary and only confuses the reader/code analyzers.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
2015-06-03 15:57:23 +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: Remove unnecessary check for orig_ifinfo not NULL 2015-06-03 15:57:23 +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: Use common declaration order in *_send_skb_(packet|unicast) 2015-05-29 10:13:37 +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: types, Fix comment on bcast_own 2015-06-03 15:57:23 +02:00