From 854c22e2570ad84f17b993033f06898311cba11d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 4 Sep 2003 03:29:13 +0000 Subject: [PATCH] Removed an unused function. #ifdef'd a variable that's only of use with TRACE() on. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4490 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/fs/pipefs.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/kernel/core/fs/pipefs.cpp b/src/kernel/core/fs/pipefs.cpp index eedf3c3789..fa3387b890 100644 --- a/src/kernel/core/fs/pipefs.cpp +++ b/src/kernel/core/fs/pipefs.cpp @@ -779,9 +779,10 @@ pipefs_get_vnode(fs_volume _volume, vnode_id id, fs_vnode *_inode, bool reenter) static status_t pipefs_put_vnode(fs_volume _volume, fs_vnode _node, bool reenter) { +#if TRACE_PIPEFS Inode *inode = (Inode *)_node; - TRACE(("pipefs_putvnode: entry on vnode 0x%Lx, r %d\n", inode->ID(), reenter)); +#endif // ToDo: delete pipe - it isn't needed anymore! @@ -1025,13 +1026,6 @@ pipefs_write(fs_volume _volume, fs_vnode _node, fs_cookie _cookie, off_t pos, } -static off_t -pipefs_seek(fs_volume _volume, fs_vnode _vnode, fs_cookie _cookie, off_t pos, int seekType) -{ - return ESPIPE; -} - - static status_t pipefs_create_dir(fs_volume _volume, fs_vnode _dir, const char *name, int perms, vnode_id *_newID) {