summaryrefslogtreecommitdiff
path: root/net/batman-adv/debugfs.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-08-20 08:26:47 (GMT)
committerAntonio Quartulli <ordex@autistici.org>2012-10-29 08:42:34 (GMT)
commit8e7c15d6b5468f0dcdd887db1e5df88e629c00d6 (patch)
treebf43c8b4dd7544a4a1dbccda2c27b0c26f5003ef /net/batman-adv/debugfs.c
parent36c1d1531130dcfadf845419fd15735b9b4c004f (diff)
downloadlinux-fsl-qoriq-8e7c15d6b5468f0dcdd887db1e5df88e629c00d6.tar.xz
batman-adv: Remove extra check in batadv_bit_get_packet
batadv_bit_get_packet checks for all common situations before it decides that the new received packet indicates that the host was restarted. This extra condition check at the end of the function is not necessary because this condition is always true. This patch addresses Coverity #712296: Logically dead code Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/debugfs.c')
0 files changed, 0 insertions, 0 deletions