mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] fs-char_devc-remove-useless-loop fix
@ 2009-08-11  9:08 Jiri Slaby
  0 siblings, 0 replies; only message in thread
From: Jiri Slaby @ 2009-08-11  9:08 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, Jiri Slaby, Renzo Davoli, Al Viro

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-11 12:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-11  9:08 [PATCH 1/1] fs-char_devc-remove-useless-loop fix Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome