projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8875127
)
rps: static functions
author
Eric Dumazet
<eric.dumazet@gmail.com>
Mon, 19 Apr 2010 21:40:57 +0000
(14:40 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 19 Apr 2010 21:40:57 +0000
(14:40 -0700)
store_rps_map() & store_rps_dev_flow_table_cnt() are static.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c
patch
|
blob
|
history
diff --git
a/net/core/net-sysfs.c
b/net/core/net-sysfs.c
index
143052a
..
c57c4b2
100644
(file)
--- a/
net/core/net-sysfs.c
+++ b/
net/core/net-sysfs.c
@@
-550,7
+550,7
@@
static void rps_map_release(struct rcu_head *rcu)
kfree(map);
}
-ssize_t store_rps_map(struct netdev_rx_queue *queue,
+s
tatic s
size_t store_rps_map(struct netdev_rx_queue *queue,
struct rx_queue_attribute *attribute,
const char *buf, size_t len)
{
@@
-635,7
+635,7
@@
static void rps_dev_flow_table_release(struct rcu_head *rcu)
schedule_work(&table->free_work);
}
-ssize_t store_rps_dev_flow_table_cnt(struct netdev_rx_queue *queue,
+s
tatic s
size_t store_rps_dev_flow_table_cnt(struct netdev_rx_queue *queue,
struct rx_queue_attribute *attr,
const char *buf, size_t len)
{