Commit e57f2545 authored by Dave Young's avatar Dave Young Committed by James Toy

Fix build warning about the unused variable in char_dev.c:267

Remove the unused char *s.
Signed-off-by: default avatarDave Young <hidave.darkstar@gmail.com>
Cc: Renzo Davoli <renzo@cs.unibo.it>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 3796c12a
......@@ -264,7 +264,6 @@ int __register_chrdev(unsigned int major, unsigned int baseminor,
{
struct char_device_struct *cd;
struct cdev *cdev;
char *s;
int err = -ENOMEM;
cd = __register_chrdev_region(major, baseminor, count, name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment