VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2019-06-13 13:45:22 +0200 committer: Thierry Reding <treding@nvidia.com> 2019-06-13 18:23:38 +0200 commit: eb7cf945a8dac8603e6d0759023e9b6cfed7a008 parent: f3b0d8793c1619074d0ece2e1a7f64ea37eaf394
Commit Summary:
host1x: debugfs_create_dir() can never return NULL
Diffstat:
1 file changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/host1x/debug.c b/drivers/gpu/host1x/debug.c
index 329e4a3d8ae7..6c5ee3e39dc6 100644
--- a/drivers/gpu/host1x/debug.c
+++ b/drivers/gpu/host1x/debug.c
@@ -171,9 +171,6 @@ static void host1x_debugfs_init(struct host1x *host1x)
 {
 	struct dentry *de = debugfs_create_dir("tegra-host1x", NULL);
 
-	if (!de)
-		return;
-
 	/* Store the created entry */
 	host1x->debugfs = de;