From: H Hartley Sweeten Date: Tue, 26 Jun 2012 00:21:17 +0000 (-0700) Subject: staging: comedi: cb_das16_cs: remove unused variable in private data X-Git-Tag: firefly_0821_release~3680^2~2356^2~518 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=857670c3e49cf915547652591fce77f3873614e7;p=firefly-linux-kernel-4.4.55.git staging: comedi: cb_das16_cs: remove unused variable in private data The 'link' variable in the private data struct is not used by the driver. Remove it. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/cb_das16_cs.c b/drivers/staging/comedi/drivers/cb_das16_cs.c index f717840e31c4..68e6436dc7a0 100644 --- a/drivers/staging/comedi/drivers/cb_das16_cs.c +++ b/drivers/staging/comedi/drivers/cb_das16_cs.c @@ -83,8 +83,6 @@ static const struct das16cs_board das16cs_boards[] = { }; struct das16cs_private { - struct pcmcia_device *link; - unsigned int ao_readback[2]; unsigned short status1; unsigned short status2;