From: Julian Seward Date: Fri, 20 Jun 2014 14:14:59 +0000 (+0000) Subject: Remove fd_exists(), as it is never used. X-Git-Tag: svn/VALGRIND_3_10_0~372 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c5ffe49d56a10d484dab7c9cb5b4a550a69dd03;p=thirdparty%2Fvalgrind.git Remove fd_exists(), as it is never used. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14065 --- diff --git a/coregrind/m_libcfile.c b/coregrind/m_libcfile.c index 2bba339e2d..0688bbbf6c 100644 --- a/coregrind/m_libcfile.c +++ b/coregrind/m_libcfile.c @@ -50,12 +50,6 @@ 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) {