]> err.no Git - linux-2.6/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)
commit68fc4fabca897a09f75f53bac14cdc7a98f52210
treec010fa0d091a543a966aad82926d0fb5c2831f1f
parentcb00ea3528eb3c09eae9871d6e7d038776e952e2
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