delete unused variables

This commit is contained in:
Juan José Gutiérrez de Quevedo Pérez 2021-03-27 22:03:09 +01:00
parent 5d8efec3f6
commit be07a12d4b

View file

@ -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) {