summaryrefslogtreecommitdiff
path: root/net/batman-adv/network-coding.c
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@meshcoding.com>2014-09-01 16:37:25 +0400
committerAntonio Quartulli <antonio@meshcoding.com>2015-01-07 19:21:55 +0300
commit24820df1449d4d7cf71bb66e7885ab7394c7b4fb (patch)
tree0e20b048e4c08ab73eec5ced36d0da194a85d2ee /net/batman-adv/network-coding.c
parenta0e287750562969db8a891e9805fef55aeb05df0 (diff)
downloadlinux-24820df1449d4d7cf71bb66e7885ab7394c7b4fb.tar.xz
batman-adv: checkpatch - else is not generally useful after a break or return
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/network-coding.c')
-rw-r--r--net/batman-adv/network-coding.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/batman-adv/network-coding.c b/net/batman-adv/network-coding.c
index fab47f1f3ef9..127cc4d7380a 100644
--- a/net/batman-adv/network-coding.c
+++ b/net/batman-adv/network-coding.c
@@ -1212,8 +1212,7 @@ static bool batadv_nc_skb_coding_possible(struct sk_buff *skb,
{
if (BATADV_SKB_CB(skb)->decoded && !batadv_compare_eth(dst, src))
return false;
- else
- return true;
+ return true;
}
/**