mirror of
https://github.com/torvalds/linux.git
synced 2024-10-27 23:31:45 +00:00
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>
This commit is contained in:
parent
f0d97253fb
commit
c149ca72e5
|
@ -389,12 +389,12 @@ static int batadv_store_uint_attr(const char *buff, size_t count,
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline ssize_t
|
static ssize_t __batadv_store_uint_attr(const char *buff, size_t count,
|
||||||
__batadv_store_uint_attr(const char *buff, size_t count,
|
int min, int max,
|
||||||
int min, int max,
|
void (*post_func)(struct net_device *),
|
||||||
void (*post_func)(struct net_device *),
|
const struct attribute *attr,
|
||||||
const struct attribute *attr,
|
atomic_t *attr_store,
|
||||||
atomic_t *attr_store, struct net_device *net_dev)
|
struct net_device *net_dev)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user