From: Marc Rittinghaus Date: Thu, 20 Apr 2023 14:50:06 +0000 (+0200) Subject: lib/devfs: Remove unused header file X-Git-Tag: RELEASE-0.13.0~108 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fe62dec68c15865d7e2f9219033c2056707937e8;p=unikraft%2Funikraft.git lib/devfs: Remove unused header file The devfs.h header file serves no purpose as it potential define for debug builds is not used anywhere. Signed-off-by: Marc Rittinghaus Reviewed-by: Razvan Deaconescu Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #855 --- diff --git a/lib/devfs/devfs.h b/lib/devfs/devfs.h deleted file mode 100644 index 5bb92fbc3..000000000 --- a/lib/devfs/devfs.h +++ /dev/null @@ -1,40 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause */ -/* - * Copyright (c) 2007, Kohsuke Ohtani - * Copyright (C) 2014 Cloudius Systems, Ltd. - * Copyright (c) 2019, University Politehnica of Bucharest. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the author nor the names of any co-contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -#ifndef _DEVFS_H -#define _DEVFS_H - -#include - -/* #define DEBUG_DEVFS 1 */ - -#endif /* !_DEVFS_H */ diff --git a/lib/devfs/devfs_vnops.c b/lib/devfs/devfs_vnops.c index 466e4c071..309e89786 100644 --- a/lib/devfs/devfs_vnops.c +++ b/lib/devfs/devfs_vnops.c @@ -62,7 +62,6 @@ #include #include -#include "devfs.h" #include static uint64_t inode_count = 1; /* inode 0 is reserved to root */