]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove fd_exists(), as it is never used.
authorJulian Seward <jseward@acm.org>
Fri, 20 Jun 2014 14:14:59 +0000 (14:14 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 20 Jun 2014 14:14:59 +0000 (14:14 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14065

coregrind/m_libcfile.c

index 2bba339e2d2b590f7f595432b36fb9a46b7f225f..0688bbbf6c76c1c9cdd94db90b1d8e7e8908a960 100644 (file)
    File stuff
    ------------------------------------------------------------------ */
 
-static inline Bool fd_exists(Int fd)
-{
-   struct vg_stat st;
-   return VG_(fstat)(fd, &st) == 0;
-}
-
 /* Move an fd into the Valgrind-safe range */
 Int VG_(safe_fd)(Int oldfd)
 {