aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/sysfs.h
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@open-mesh.com>2013-10-13 02:50:17 +0200
committerAntonio Quartulli <antonio@meshcoding.com>2014-01-08 20:49:39 +0100
commit3fba7325bb057977ec180b5f462084c50ca7940e (patch)
treeffa321077c017256351bf2c8342e80267382244b /net/batman-adv/sysfs.h
parentbatman-adv: properly rename define in distributed arp table header file (diff)
downloadlinux-dev-3fba7325bb057977ec180b5f462084c50ca7940e.tar.xz
linux-dev-3fba7325bb057977ec180b5f462084c50ca7940e.zip
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 <antonio@open-mesh.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/sysfs.h')
0 files changed, 0 insertions, 0 deletions