From: Sven Eckelmann Date: Mon, 20 Aug 2012 08:26:47 +0000 (+0200) Subject: batman-adv: Remove extra check in batadv_bit_get_packet X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~536^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e7c15d6b5468f0dcdd887db1e5df88e629c00d6;p=pandora-kernel.git 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 Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed