From: H Hartley Sweeten Date: Sat, 26 Jan 2013 01:37:06 +0000 (-0700) Subject: staging: comedi: ni_labpc_cs: remove pcmcia_device private data X-Git-Tag: v3.9-rc1~127^2~244 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2e1be03ac1747cbb758fa146fe5cf364f306420;p=pandora-kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed