fs-char_devc-remove-useless-loop fix
PATCH 1/1 fs-char_devc-remove-useless-loop fix
Fix following compilation warning:fs/char_dev.c: In function `register_chrdev':fs/char_dev.c:267: warning: unused variable `s'
Cc Renzo Davoli <[email protected]>
Cc Al Viro <[email protected]>
Signed-off-by Jiri Slaby <[email protected]>
--- fs/char_dev.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
fs/char_dev.c +0 -1
@@ -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);
Signature · 1 line
1.6.3.3