mac80211: make rate_control_alloc static

rate_control_alloc is not used by anything outside of
ieee80211_init_rate_ctrl_alg.  Both are in rate.c; there's no reason to make
rate_control_alloc visible outside of it.

Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
这个提交包含在:
Andres Salomon
2010-02-07 21:47:50 -05:00
提交者 John W. Linville
父节点 641eabb0a3
当前提交 209c671db7
修改 2 个文件,包含 3 行新增6 行删除

查看文件

@@ -145,7 +145,7 @@ static const struct file_operations rcname_ops = {
};
#endif
struct rate_control_ref *rate_control_alloc(const char *name,
static struct rate_control_ref *rate_control_alloc(const char *name,
struct ieee80211_local *local)
{
struct dentry *debugfsdir = NULL;