summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/char_dev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c
index f77f770..67b2007 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -117,7 +117,6 @@ __register_chrdev_region(unsigned int major, unsigned int baseminor,
goto out;
}
major = i;
- ret = major;
}
cd->major = major;
OpenPOWER on IntegriCloud