]> Pileus Git - ~andy/linux/commit
staging: comedi: rtd520: remove the '#if 0' code in the attach
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 19 Jul 2012 02:04:56 +0000 (19:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2012 23:51:39 +0000 (16:51 -0700)
commit670793019d15c1066ce6621f4d175fb71a1a24e4
tree56e0f04910be3d8957d84b21c10a642b3f0128ff
parent39ed05b769190e54d443b8b995b9f3ddee4a32e3
staging: comedi: rtd520: remove the '#if 0' code in the attach

This driver has code #if 0'ed out that would allow cleaning up
the attach if there was an error. The comedi core currently
calls the detach function to do this if the attach fails.

Remove the #if 0'ed out code.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/rtd520.c