Remove unused seq_list functions.
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Tue, 8 Dec 2009 09:13:33 +0000 (07:13 -0200)
committerThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Tue, 8 Dec 2009 09:13:33 +0000 (07:13 -0200)
hello_procfs.c

index a78eff8..4420ad4 100644 (file)
@@ -30,30 +30,6 @@ static int hello_show(struct seq_file *file, void *data)
        return 0;
 }
 
-#if 0
-static void * hello_start(struct seq_file *file, loff_t *pos)
-{
-       return NULL;
-}
-
-static void hello_stop(struct seq_file *file, void *data)
-{
-}
-
-static void * hello_next(struct seq_file *file, void *data, loff_t *pos)
-{
-       return NULL;
-}
-
-static const struct seq_operations hello_seqops =
-{
-       .start = hello_start,
-       .stop = hello_stop,
-       .next = hello_next,
-       .show = hello_show,
-};
-#endif
-
 static int hello_procfs_open(struct inode *inode, struct file *file)
 {
        return single_open(file, hello_show, NULL);