From: Antonio Quartulli Date: Sun, 13 Oct 2013 00:50:17 +0000 (+0200) Subject: batman-adv: don't switch byte order too often if not needed X-Git-Tag: v3.14-rc1~94^2~236^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fba7325bb057977ec180b5f462084c50ca7940e;p=pandora-kernel.git batman-adv: don't switch byte order too often if not needed If possible, operations like ntohs/ntohl should not be performed too often. Use a variable to locally store the converted value and then use it. Signed-off-by: Antonio Quartulli Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed