]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: only call post function if something changed
authorSimon Wunderlich <simon@open-mesh.com>
Tue, 17 Nov 2015 13:11:26 +0000 (14:11 +0100)
committerAntonio Quartulli <a@unstable.cc>
Sat, 9 Jan 2016 12:56:00 +0000 (20:56 +0800)
commit5bcf7db1a1deda59b4f95659938501aaf3425781
tree14e706b793e44254299e60df3c69390edf8fd301
parent57638688ad1a410a793843a067f2e73b76e130f1
batman-adv: only call post function if something changed

Currently, the post function is also called on errors or if there were
no changes, which is redundant for the functions currently using these
facilities.

Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
net/batman-adv/sysfs.c