[PATCH] tlclk: delete unnecessary sysfs_remove_group
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 22 Dec 2006 09:10:28 +0000 (01:10 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:50 +0000 (08:55 -0800)
commit5e40508e5fee2dac7b04d5bc5b5ef3b452f0a899
tree4453c8f429faeec713e2d933aac3e65fd1c9a02a
parent449d4dd5add718578eb2e6671168de9f67dd239c
[PATCH] tlclk: delete unnecessary sysfs_remove_group

It is unnecessary and invalid to call sysfs_remove_group() after
sysfs_create_group() failure.

Cc: Sebastien Bouchard <sebastien.bouchard@ca.kontron.com>
Cc: Mark Gross <mark.gross@intel.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tlclk.c