diff options
| author | Antonio Quartulli <a@unstable.cc> | 2016-05-05 14:46:37 -0400 |
|---|---|---|
| committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-06-30 04:29:43 -0400 |
| commit | c149ca72e58ac511ad8bf71df833efa9764115a4 (patch) | |
| tree | e6f38ef48be169bf31ef4b985f98612b5472053d | |
| parent | f0d97253fb5fe87a7a91e7dc1ba4becf9d89d896 (diff) | |
batman-adv: remove useless inline attribute for sysfs helper function
the compiler can optimize functions within the same C file and therefore
there is no need to make it explicit.
Remove the useless inline attribute for __batadv_store_uint_attr()
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
| -rw-r--r-- | net/batman-adv/sysfs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/batman-adv/sysfs.c b/net/batman-adv/sysfs.c index 414b2074165f..ef5832f4aaba 100644 --- a/net/batman-adv/sysfs.c +++ b/net/batman-adv/sysfs.c | |||
| @@ -389,12 +389,12 @@ static int batadv_store_uint_attr(const char *buff, size_t count, | |||
| 389 | return count; | 389 | return count; |
| 390 | } | 390 | } |
| 391 | 391 | ||
| 392 | static inline ssize_t | 392 | static ssize_t __batadv_store_uint_attr(const char *buff, size_t count, |
| 393 | __batadv_store_uint_attr(const char *buff, size_t count, | 393 | int min, int max, |
| 394 | int min, int max, | 394 | void (*post_func)(struct net_device *), |
| 395 | void (*post_func)(struct net_device *), | 395 | const struct attribute *attr, |
| 396 | const struct attribute *attr, | 396 | atomic_t *attr_store, |
| 397 | atomic_t *attr_store, struct net_device *net_dev) | 397 | struct net_device *net_dev) |
| 398 | { | 398 | { |
| 399 | int ret; | 399 | int ret; |
| 400 | 400 | ||
