diff options
Diffstat (limited to 'fs/proc/base.c')
-rw-r--r-- | fs/proc/base.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index e34c3c33b2de..bc15df390ec4 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c | |||
@@ -854,10 +854,6 @@ out_no_task: | |||
854 | return ret; | 854 | return ret; |
855 | } | 855 | } |
856 | 856 | ||
857 | #define mem_write NULL | ||
858 | |||
859 | #ifndef mem_write | ||
860 | /* This is a security hazard */ | ||
861 | static ssize_t mem_write(struct file * file, const char __user *buf, | 857 | static ssize_t mem_write(struct file * file, const char __user *buf, |
862 | size_t count, loff_t *ppos) | 858 | size_t count, loff_t *ppos) |
863 | { | 859 | { |
@@ -914,7 +910,6 @@ out_task: | |||
914 | out_no_task: | 910 | out_no_task: |
915 | return copied; | 911 | return copied; |
916 | } | 912 | } |
917 | #endif | ||
918 | 913 | ||
919 | loff_t mem_lseek(struct file *file, loff_t offset, int orig) | 914 | loff_t mem_lseek(struct file *file, loff_t offset, int orig) |
920 | { | 915 | { |