commit | b2e1be03ac1747cbb758fa146fe5cf364f306420 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Fri Jan 25 18:37:06 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jan 29 23:09:25 2013 -0500 |
tree | c6f38ca0e67d9fa5ad70e0a0f53b3230515596d4 | |
parent | fdcb5fdee2c7ec6327d08f4529da7e1130d0fa63 [diff] |
staging: comedi: ni_labpc_cs: remove pcmcia_device private data The private data, struct local_info_t, is not being used in the driver. Remove it as well as the kzalloc/kfree. Also, don't set the 'pcmcia_cur_dev' variable unless the pcmcia configuration is successful. 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>