Messages in this thread Patch in this message |  | | | From | Jiri Slaby <> | | Subject | [PATCH 1/1] fs-char_devc-remove-useless-loop fix | | Date | Tue, 11 Aug 2009 11:08:09 +0200 |
| |
Fix following compilation warning: fs/char_dev.c: In function `register_chrdev': fs/char_dev.c:267: warning: unused variable `s'
Cc: Renzo Davoli <renzo@cs.unibo.it> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jiri Slaby <jirislaby@gmail.com> --- fs/char_dev.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/char_dev.c b/fs/char_dev.c index e29f4be..33327d6 100644 --- a/fs/char_dev.c +++ b/fs/char_dev.c @@ -264,7 +264,6 @@ int register_chrdev(unsigned int major, const char *name, { struct char_device_struct *cd; struct cdev *cdev; - char *s; int err = -ENOMEM; cd = __register_chrdev_region(major, 0, 256, name); -- 1.6.3.3
|  |