staging: dgap: removes references to proc code
authorLidza Louina <lidza.louina@gmail.com>
Fri, 23 Aug 2013 02:17:10 +0000 (22:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 16:51:19 +0000 (09:51 -0700)
This patch removes references to proc functions and
structs in the code. The kernel uses sysfs instead
of proc now.

Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap_driver.h
drivers/staging/dgap/dgap_fep5.c

index b76ec3c39ef0aea6b441de7a5f9b2eeb74bbe13c..b1cf489a729c8d66327a15dfe3f1bef54733c272 100644 (file)
@@ -412,10 +412,6 @@ struct board_t
         */
         char           *msgbuf_head;
         char           *msgbuf;
-
-       /* /proc/<board> entries */
-       struct proc_dir_entry *proc_entry_pointer;
-       struct dgap_proc_entry *dgap_board_table;
 };
 
 
@@ -564,10 +560,6 @@ struct channel_t {
        ulong   ch_err_break;           /* Count of breaks on channel   */
        ulong   ch_err_overrun;         /* Count of overruns on channel */
 
-       /* /proc/<board>/<channel> entries */
-       struct proc_dir_entry *proc_entry_pointer;
-       struct dgap_proc_entry *dgap_channel_table;
-
        uint ch_sniff_in;
        uint ch_sniff_out;
        char *ch_sniff_buf;             /* Sniff buffer for proc */
index 45b0f28a202a7939f31a9e21eae9e363f3ce4b0c..291b414863c12890e7cb2daeff95e96f33069fd6 100644 (file)
@@ -133,8 +133,6 @@ int dgap_after_config_loaded(void)
                 */
                dgap_Board[i]->flipbuf = dgap_driver_kzmalloc(MYFLIPLEN, GFP_ATOMIC);
                dgap_Board[i]->flipflagbuf = dgap_driver_kzmalloc(MYFLIPLEN, GFP_ATOMIC);
-
-               //dgap_proc_register_basic_postscan(i);
        }
 
        return (rc);