diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-01-10 11:12:41 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-12 14:20:57 -0500 |
commit | 2d46d7c121436f1dafe91b0a8d9b99e534cfa5f8 (patch) | |
tree | 60b044cdb2e2c01e2d66ce91f95687f2dd3e3a58 | |
parent | 678f415fdc534c0a806fce992e4c62df0eff19d2 (diff) |
mac80211: remove unused type argument
The type argument to DEBUGFS_ADD() isn't used
and can be removed, it's around from before
the conversion to debugfs_remove_recursive().
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | net/mac80211/debugfs_netdev.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/net/mac80211/debugfs_netdev.c b/net/mac80211/debugfs_netdev.c index 1481049f0f71..9affe2cd185f 100644 --- a/net/mac80211/debugfs_netdev.c +++ b/net/mac80211/debugfs_netdev.c | |||
@@ -255,7 +255,7 @@ IEEE80211_IF_FILE(dot11MeshHWMPRootMode, | |||
255 | #endif | 255 | #endif |
256 | 256 | ||
257 | 257 | ||
258 | #define DEBUGFS_ADD(name, type) \ | 258 | #define DEBUGFS_ADD(name) \ |
259 | debugfs_create_file(#name, 0400, sdata->debugfs.dir, \ | 259 | debugfs_create_file(#name, 0400, sdata->debugfs.dir, \ |
260 | sdata, &name##_ops); | 260 | sdata, &name##_ops); |
261 | 261 | ||
@@ -265,40 +265,40 @@ IEEE80211_IF_FILE(dot11MeshHWMPRootMode, | |||
265 | 265 | ||
266 | static void add_sta_files(struct ieee80211_sub_if_data *sdata) | 266 | static void add_sta_files(struct ieee80211_sub_if_data *sdata) |
267 | { | 267 | { |
268 | DEBUGFS_ADD(drop_unencrypted, sta); | 268 | DEBUGFS_ADD(drop_unencrypted); |
269 | DEBUGFS_ADD(rc_rateidx_mask_2ghz, sta); | 269 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); |
270 | DEBUGFS_ADD(rc_rateidx_mask_5ghz, sta); | 270 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); |
271 | 271 | ||
272 | DEBUGFS_ADD(bssid, sta); | 272 | DEBUGFS_ADD(bssid); |
273 | DEBUGFS_ADD(aid, sta); | 273 | DEBUGFS_ADD(aid); |
274 | DEBUGFS_ADD_MODE(smps, 0600); | 274 | DEBUGFS_ADD_MODE(smps, 0600); |
275 | } | 275 | } |
276 | 276 | ||
277 | static void add_ap_files(struct ieee80211_sub_if_data *sdata) | 277 | static void add_ap_files(struct ieee80211_sub_if_data *sdata) |
278 | { | 278 | { |
279 | DEBUGFS_ADD(drop_unencrypted, ap); | 279 | DEBUGFS_ADD(drop_unencrypted); |
280 | DEBUGFS_ADD(rc_rateidx_mask_2ghz, ap); | 280 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); |
281 | DEBUGFS_ADD(rc_rateidx_mask_5ghz, ap); | 281 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); |
282 | 282 | ||
283 | DEBUGFS_ADD(num_sta_ps, ap); | 283 | DEBUGFS_ADD(num_sta_ps); |
284 | DEBUGFS_ADD(dtim_count, ap); | 284 | DEBUGFS_ADD(dtim_count); |
285 | DEBUGFS_ADD(num_buffered_multicast, ap); | 285 | DEBUGFS_ADD(num_buffered_multicast); |
286 | } | 286 | } |
287 | 287 | ||
288 | static void add_wds_files(struct ieee80211_sub_if_data *sdata) | 288 | static void add_wds_files(struct ieee80211_sub_if_data *sdata) |
289 | { | 289 | { |
290 | DEBUGFS_ADD(drop_unencrypted, wds); | 290 | DEBUGFS_ADD(drop_unencrypted); |
291 | DEBUGFS_ADD(rc_rateidx_mask_2ghz, wds); | 291 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); |
292 | DEBUGFS_ADD(rc_rateidx_mask_5ghz, wds); | 292 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); |
293 | 293 | ||
294 | DEBUGFS_ADD(peer, wds); | 294 | DEBUGFS_ADD(peer); |
295 | } | 295 | } |
296 | 296 | ||
297 | static void add_vlan_files(struct ieee80211_sub_if_data *sdata) | 297 | static void add_vlan_files(struct ieee80211_sub_if_data *sdata) |
298 | { | 298 | { |
299 | DEBUGFS_ADD(drop_unencrypted, vlan); | 299 | DEBUGFS_ADD(drop_unencrypted); |
300 | DEBUGFS_ADD(rc_rateidx_mask_2ghz, vlan); | 300 | DEBUGFS_ADD(rc_rateidx_mask_2ghz); |
301 | DEBUGFS_ADD(rc_rateidx_mask_5ghz, vlan); | 301 | DEBUGFS_ADD(rc_rateidx_mask_5ghz); |
302 | } | 302 | } |
303 | 303 | ||
304 | static void add_monitor_files(struct ieee80211_sub_if_data *sdata) | 304 | static void add_monitor_files(struct ieee80211_sub_if_data *sdata) |