Received: by 10.192.165.156 with SMTP id m28csp87610imm; Sun, 15 Apr 2018 17:47:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx48oFjyoD9tc4VMmYKBiSnA0zUfoWe43nUVWf/4D5ASLb0ljY5IhMppcE7pcqc1rAPZ8nts6 X-Received: by 2002:a17:902:5501:: with SMTP id f1-v6mr13293436pli.50.1523839635171; Sun, 15 Apr 2018 17:47:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523839635; cv=none; d=google.com; s=arc-20160816; b=YPUwnNmmtTUBMA/wqQKFkNw1t/tR8JB5gKJHFtvLbyoPWJ0HkrK0x/9+ujdIWEvB1f 5vKxiy6yOsd+j6bLBOo1eCSURBuRVfOO5VbS7YsQyZqNfZlE8EP9BfBdXUq15kFHUdNy jXpuWggb2K91lmlEYrNnYKkusdFQ6e+7XotNEFmOrnhTkCpD3eYS2fGSkuQAJ1NzJsXd wxcCOhs6LBljruCuA4m2g2w/grxtCg//5ksgggGMjrq9exB4tQ+G3mNUzyPsLmdENe84 ydQUzZkaWGlkIQgpLh6QJzgrqcvoRVxB7eA9DFME85RWbYkt/p/uRg7SzwKhXU/o5/oe U6nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:cc:subject:date:to :from:arc-authentication-results; bh=igJLySw/KBGP6l850CBA91WbqrfN3PXMNw8I7LIconE=; b=X3GFCSCWndyZVDrbGFUMyQG2AZDbvPPs+XMFGvIKZAzqiB0WGWCQRunc9sV/QpHmgR L6BL+xvSbLNI7jKohBrmsccF7iCmmWcFr3eaxmBPcV5IIwZdvZ8/dJdflhNrfgZahYEb 2yRTde1EDcBBjDlF0grwTiMlaQubDPrPxRh5/c0OztfpfVLcCPSslQpMmZF2Ll8xtivl ZK7io3Dk8TjnPTViFlfSKG5jb/uj3T2iPIiMGjGoTCf6I20bJI9n9XqzxGd50UHhPhmW 0tiJIVr5QUPwZxfDvPfaT+QbOD0pbwPA0yccKEr9O8Tze6fs5KV9Atqi9UrzYvnEfnzp pozw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p24si9356750pfh.328.2018.04.15.17.46.27; Sun, 15 Apr 2018 17:47:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752879AbeDPAnR (ORCPT + 99 others); Sun, 15 Apr 2018 20:43:17 -0400 Received: from mx2.suse.de ([195.135.220.15]:42455 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752557AbeDPAnP (ORCPT ); Sun, 15 Apr 2018 20:43:15 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D907EAD7F; Mon, 16 Apr 2018 00:43:13 +0000 (UTC) From: NeilBrown To: Oleg Drokin , Greg Kroah-Hartman , James Simmons , Andreas Dilger Date: Mon, 16 Apr 2018 10:42:37 +1000 Subject: [PATCH 2/6] staging: lustre: remove libcfs/linux/libcfs.h Cc: Linux Kernel Mailing List , Lustre Development List Message-ID: <152383935734.23409.11654775387996961581.stgit@noble> In-Reply-To: <152383910760.23409.2327082725637657049.stgit@noble> References: <152383910760.23409.2327082725637657049.stgit@noble> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This include file is only included in one place, and only contains a list of other include directives. So just move all those to the place where this file is included, and discard the file. One include directive uses a local name ("linux-cpu.h"), so that needs to be given a proper path. Probably many of these should be remove from here, and moved to just the files that need them. Signed-off-by: NeilBrown --- .../staging/lustre/include/linux/libcfs/libcfs.h | 43 ++++++++++ .../lustre/include/linux/libcfs/linux/libcfs.h | 83 -------------------- 2 files changed, 42 insertions(+), 84 deletions(-) delete mode 100644 drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs.h b/drivers/staging/lustre/include/linux/libcfs/libcfs.h index 62e46aa3c554..e59d107d6482 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs.h @@ -38,7 +38,48 @@ #include #include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + #include #include #include diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h b/drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h deleted file mode 100644 index 83aec9c7698f..000000000000 --- a/drivers/staging/lustre/include/linux/libcfs/linux/libcfs.h +++ /dev/null @@ -1,83 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * GPL HEADER START - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 only, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License version 2 for more details (a copy is included - * in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU General Public License - * version 2 along with this program; If not, see - * http://www.gnu.org/licenses/gpl-2.0.html - * - * GPL HEADER END - */ -/* - * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. - * Use is subject to license terms. - * - * Copyright (c) 2012, Intel Corporation. - */ -/* - * This file is part of Lustre, http://www.lustre.org/ - * Lustre is a trademark of Sun Microsystems, Inc. - */ - -#ifndef __LIBCFS_LINUX_LIBCFS_H__ -#define __LIBCFS_LINUX_LIBCFS_H__ - -#ifndef __LIBCFS_LIBCFS_H__ -#error Do not #include this file directly. #include instead -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "linux-cpu.h" - -#endif /* _LINUX_LIBCFS_H */