Skip to content

Commit

Permalink
rps: static functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Dumazet authored and davem330 committed Apr 19, 2010
1 parent 8875127 commit f5acb90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/core/net-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
static ssize_t store_rps_map(struct netdev_rx_queue *queue,
struct rx_queue_attribute *attribute,
const char *buf, size_t len)
{
Expand Down Expand Up @@ -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,
static ssize_t store_rps_dev_flow_table_cnt(struct netdev_rx_queue *queue,
struct rx_queue_attribute *attr,
const char *buf, size_t len)
{
Expand Down

0 comments on commit f5acb90

Please sign in to comment.