aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-07-12 16:50:06 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-07-14 13:52:45 -0400
commit57674308d00b5ebb639ce53d388e61728e0c7f72 (patch)
tree357e585c3288c06f058afed3efeb9494005036ea /drivers/net/wireless/ath
parent447a42c2feb1091f217c1d50000d8cddf39addb5 (diff)
drivers/net/wireless: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_main.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
index e38ca66db849..47f76031447b 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
@@ -492,8 +492,7 @@ static int ath9k_debugfs_open(struct inode *inode, struct file *file)
492static ssize_t read_file_tgt_stats(struct file *file, char __user *user_buf, 492static ssize_t read_file_tgt_stats(struct file *file, char __user *user_buf,
493 size_t count, loff_t *ppos) 493 size_t count, loff_t *ppos)
494{ 494{
495 struct ath9k_htc_priv *priv = 495 struct ath9k_htc_priv *priv = file->private_data;
496 (struct ath9k_htc_priv *) file->private_data;
497 struct ath9k_htc_target_stats cmd_rsp; 496 struct ath9k_htc_target_stats cmd_rsp;
498 char buf[512]; 497 char buf[512];
499 unsigned int len = 0; 498 unsigned int len = 0;
@@ -536,8 +535,7 @@ static const struct file_operations fops_tgt_stats = {
536static ssize_t read_file_xmit(struct file *file, char __user *user_buf, 535static ssize_t read_file_xmit(struct file *file, char __user *user_buf,
537 size_t count, loff_t *ppos) 536 size_t count, loff_t *ppos)
538{ 537{
539 struct ath9k_htc_priv *priv = 538 struct ath9k_htc_priv *priv = file->private_data;
540 (struct ath9k_htc_priv *) file->private_data;
541 char buf[512]; 539 char buf[512];
542 unsigned int len = 0; 540 unsigned int len = 0;
543 541
@@ -582,8 +580,7 @@ static const struct file_operations fops_xmit = {
582static ssize_t read_file_recv(struct file *file, char __user *user_buf, 580static ssize_t read_file_recv(struct file *file, char __user *user_buf,
583 size_t count, loff_t *ppos) 581 size_t count, loff_t *ppos)
584{ 582{
585 struct ath9k_htc_priv *priv = 583 struct ath9k_htc_priv *priv = file->private_data;
586 (struct ath9k_htc_priv *) file->private_data;
587 char buf[512]; 584 char buf[512];
588 unsigned int len = 0; 585 unsigned int len = 0;
589 586