hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/gpu/host1x/debug.c
....@@ -1,18 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2010 Google, Inc.
34 * Author: Erik Gilling <konkers@android.com>
45 *
56 * Copyright (C) 2011-2013 NVIDIA Corporation
6
- *
7
- * This software is licensed under the terms of the GNU General Public
8
- * License version 2, as published by the Free Software Foundation, and
9
- * may be copied, distributed, and modified under those terms.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
167 */
178
189 #include <linux/debugfs.h>
....@@ -174,9 +165,6 @@
174165 static void host1x_debugfs_init(struct host1x *host1x)
175166 {
176167 struct dentry *de = debugfs_create_dir("tegra-host1x", NULL);
177
-
178
- if (!de)
179
- return;
180168
181169 /* Store the created entry */
182170 host1x->debugfs = de;