diff options
Diffstat (limited to 'fs/reiserfs/procfs.c')
| -rw-r--r-- | fs/reiserfs/procfs.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/fs/reiserfs/procfs.c b/fs/reiserfs/procfs.c index 9229e5514a4e..0ebb11646526 100644 --- a/fs/reiserfs/procfs.c +++ b/fs/reiserfs/procfs.c | |||
| @@ -48,14 +48,6 @@ static int show_version(struct seq_file *m, struct super_block *sb) | |||
| 48 | return 0; | 48 | return 0; |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | int reiserfs_global_version_in_proc(char *buffer, char **start, off_t offset, | ||
| 52 | int count, int *eof, void *data) | ||
| 53 | { | ||
| 54 | *start = buffer; | ||
| 55 | *eof = 1; | ||
| 56 | return 0; | ||
| 57 | } | ||
| 58 | |||
| 59 | #define SF( x ) ( r -> x ) | 51 | #define SF( x ) ( r -> x ) |
| 60 | #define SFP( x ) SF( s_proc_info_data.x ) | 52 | #define SFP( x ) SF( s_proc_info_data.x ) |
| 61 | #define SFPL( x ) SFP( x[ level ] ) | 53 | #define SFPL( x ) SFP( x[ level ] ) |
| @@ -538,19 +530,6 @@ int reiserfs_proc_info_done(struct super_block *sb) | |||
| 538 | return 0; | 530 | return 0; |
| 539 | } | 531 | } |
| 540 | 532 | ||
| 541 | struct proc_dir_entry *reiserfs_proc_register_global(char *name, | ||
| 542 | read_proc_t * func) | ||
| 543 | { | ||
| 544 | return (proc_info_root) ? create_proc_read_entry(name, 0, | ||
| 545 | proc_info_root, | ||
| 546 | func, NULL) : NULL; | ||
| 547 | } | ||
| 548 | |||
| 549 | void reiserfs_proc_unregister_global(const char *name) | ||
| 550 | { | ||
| 551 | remove_proc_entry(name, proc_info_root); | ||
| 552 | } | ||
| 553 | |||
| 554 | int reiserfs_proc_info_global_init(void) | 533 | int reiserfs_proc_info_global_init(void) |
| 555 | { | 534 | { |
| 556 | if (proc_info_root == NULL) { | 535 | if (proc_info_root == NULL) { |
| @@ -585,16 +564,6 @@ int reiserfs_proc_info_done(struct super_block *sb) | |||
| 585 | return 0; | 564 | return 0; |
| 586 | } | 565 | } |
| 587 | 566 | ||
| 588 | struct proc_dir_entry *reiserfs_proc_register_global(char *name, | ||
| 589 | read_proc_t * func) | ||
| 590 | { | ||
| 591 | return NULL; | ||
| 592 | } | ||
| 593 | |||
| 594 | void reiserfs_proc_unregister_global(const char *name) | ||
| 595 | {; | ||
| 596 | } | ||
| 597 | |||
| 598 | int reiserfs_proc_info_global_init(void) | 567 | int reiserfs_proc_info_global_init(void) |
| 599 | { | 568 | { |
| 600 | return 0; | 569 | return 0; |
| @@ -603,14 +572,6 @@ int reiserfs_proc_info_global_done(void) | |||
| 603 | { | 572 | { |
| 604 | return 0; | 573 | return 0; |
| 605 | } | 574 | } |
| 606 | |||
| 607 | int reiserfs_global_version_in_proc(char *buffer, char **start, | ||
| 608 | off_t offset, | ||
| 609 | int count, int *eof, void *data) | ||
| 610 | { | ||
| 611 | return 0; | ||
| 612 | } | ||
| 613 | |||
| 614 | /* REISERFS_PROC_INFO */ | 575 | /* REISERFS_PROC_INFO */ |
| 615 | #endif | 576 | #endif |
| 616 | 577 | ||
