From 3b61035c50e0f7019b22ac190f7eb15b93b519f0 Mon Sep 17 00:00:00 2001 From: z00538436 Date: Sat, 29 Aug 2020 18:42:04 +0800 Subject: [PATCH] TicketNo:DTS2020082814349 Description:self developed code Team:OTHERS Feature or Bugfix:Feature Binary Source:NA PrivateCode(Yes/No):No Change-Id: Ideb54f27461f2b6583bc06d07286dae36a5d037b Reviewed-on: http://mgit-tm.rnd.huawei.com/10527467 Reviewed-by: caoruihong 00546070 Reviewed-by: zhaotianyu 00538436 Tested-by: public jenkins Reviewed-by: shenwei 00579521 --- kernel/src/stdio/__stdio_seek.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kernel/src/stdio/__stdio_seek.c b/kernel/src/stdio/__stdio_seek.c index e7d4ac05..aa97b42c 100644 --- a/kernel/src/stdio/__stdio_seek.c +++ b/kernel/src/stdio/__stdio_seek.c @@ -48,10 +48,6 @@ out: off_t __stdio_seek(FILE *f, off_t off, int whence) { -#ifdef __NR__llseek off_t result = 0; return __stdio_lseek64(f->fd, off>>32, off, &result, whence) ? -1 : result; -#else - return SysLseek(f->fd, off, whence); -#endif } -- GitLab