All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH-RESUBMIT] net/netfilter/x_tables.c unnecessary casts
@ 2007-09-11 13:49 liran tal
  2007-09-11 15:17 ` Randy Dunlap
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: liran tal @ 2007-09-11 13:49 UTC (permalink / raw)
  To: kernel-janitors

The patch removes an unnecessary cast in accordance to the rest of
the code. Kernel version is 2.6.22 with latest patches.


--- x_tables.c.orig     2007-09-11 11:21:44.000000000 +0300
+++ x_tables.c  2007-09-11 11:22:11.000000000 +0300
@@ -691,7 +691,7 @@ static struct list_head *type2list(u_int

 static void *xt_tgt_seq_start(struct seq_file *seq, loff_t *pos)
 {
-       struct proc_dir_entry *pde = (struct proc_dir_entry *) seq->private;
+       struct proc_dir_entry *pde = seq->private;
       u_int16_t af = (unsigned long)pde->data & 0xffff;
       u_int16_t type = (unsigned long)pde->data >> 16;
       struct list_head *list;


Signed-off-by: Liran Tal <liran.tal@gmail.com>
_______________________________________________
REMINDER: this mailing list moved to vger.kernel.org and current one will be discontinued soon.
To resubscribe, send email to majordomo@vger.kernel.org with
&quot;subscribe kernel-janitors&quot; in message body and follow instructions.

Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-10-09 19:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-11 13:49 [KJ] [PATCH-RESUBMIT] net/netfilter/x_tables.c unnecessary casts liran tal
2007-09-11 15:17 ` Randy Dunlap
2007-09-11 16:06 ` liran tal
2007-09-11 16:53 ` liran tal
2007-09-11 19:44 ` Randy Dunlap
2007-09-12  6:19 ` liran tal
2007-09-12 15:25 ` Randy Dunlap
2007-09-17 12:37 ` Liran Tal
2007-09-19  7:32 ` Liran Tal
2007-10-09 19:32 ` Ahmed S. Darwish
2007-10-09 19:43 ` liran tal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.