From: Joe Perches Date: Mon, 12 Jul 2010 10:50:23 +0000 (+0000) Subject: net/core: Remove unnecessary casts of private_data X-Git-Tag: MMI-PSA29.97-13-9~23092^2~245 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8a994a7180104b305970232e160b18523c1fbd6a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git net/core: Remove unnecessary casts of private_data Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 1ee2ebd9b04f..24a19debda1b 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -846,7 +846,7 @@ static ssize_t pktgen_if_write(struct file *file, const char __user * user_buffer, size_t count, loff_t * offset) { - struct seq_file *seq = (struct seq_file *)file->private_data; + struct seq_file *seq = file->private_data; struct pktgen_dev *pkt_dev = seq->private; int i = 0, max, len; char name[16], valstr[32]; @@ -1776,7 +1776,7 @@ static ssize_t pktgen_thread_write(struct file *file, const char __user * user_buffer, size_t count, loff_t * offset) { - struct seq_file *seq = (struct seq_file *)file->private_data; + struct seq_file *seq = file->private_data; struct pktgen_thread *t = seq->private; int i = 0, max, len, ret; char name[40];