]> git.baikalelectronics.ru Git - kernel.git/commit
unregister_chrdev(): ignore the return value
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 19 Jul 2007 08:47:50 +0000 (01:47 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:43 +0000 (10:04 -0700)
commitd370d1c4ed59605f71bbd99a601e749341cd4faa
treec010fa0d091a543a966aad82926d0fb5c2831f1f
parentb91a29bf8e98a5a1391149e160fc48f21add144f
unregister_chrdev(): ignore the return value

unregister_chrdev() always returns 0.  There is no need to check the return
value.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/cris/arch-v10/drivers/pcf8563.c
arch/cris/arch-v32/drivers/pcf8563.c
arch/sparc64/solaris/socksys.c
drivers/char/ip2/ip2main.c
drivers/char/mbcs.c
drivers/char/stallion.c
drivers/char/viotape.c
drivers/net/ppp_generic.c
sound/core/sound.c