From be07a12d4b528977b6029017e8893ce57c2f723b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Guti=C3=83errez?= Date: Sat, 27 Mar 2021 22:03:09 +0100 Subject: [PATCH] delete unused variables --- os_dep/osdep_service.c | 3 --- 1 file changed, 3 deletions(-) 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) {