diff --git a/os_dep/osdep_service.c b/os_dep/osdep_service.c index e4893a7..f178f1b 100644 --- a/os_dep/osdep_service.c +++ b/os_dep/osdep_service.c @@ -1949,7 +1949,6 @@ static int isFileReadable(char *path) { struct file *fp; int ret = 0; - mm_segment_t oldfs; char buf; fp=filp_open(path, O_RDONLY, 0); @@ -1973,7 +1972,6 @@ static int isFileReadable(char *path) static int retriveFromFile(char *path, u8* buf, u32 sz) { int ret =-1; - mm_segment_t oldfs; struct file *fp; if(path && buf) { @@ -2004,7 +2002,6 @@ static int retriveFromFile(char *path, u8* buf, u32 sz) static int storeToFile(char *path, u8* buf, u32 sz) { int ret =0; - mm_segment_t oldfs; struct file *fp; if(path && buf) {