]> 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)
commit3a272d0f32420fdd6418f4006f75ca953806cb3a
tree14e706b793e44254299e60df3c69390edf8fd301
parentcbd71f56272634502b78f5cb939bbe5cec3273b8
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