[PATCH 11/13] net/ipv4: Remove unnecessary casts of private_data
From: Joe Perches
Date: Sat Sep 04 2010 - 21:53:49 EST
Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
net/ipv4/raw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index 1f85ef2..ea9aa9b 100644
--- a/net/ipv4/raw.c
+++ b/net/ipv4/raw.c
@@ -985,7 +985,7 @@ int raw_seq_open(struct inode *ino, struct file *file,
if (err < 0)
return err;
- i = raw_seq_private((struct seq_file *)file->private_data);
+ i = raw_seq_private(file->private_data);
i->h = h;
return 0;
}
--
1.7.2.19.g9a302
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/