From: H Hartley Sweeten Date: Tue, 11 Sep 2012 20:47:52 +0000 (-0700) Subject: staging: comedi: icp_multi: remove ranglist_ao from boardinfo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d4fb0f256028f16de8e33da7007fcf711c817929;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: comedi: icp_multi: remove ranglist_ao from boardinfo This variable is not used by the driver. Remove it. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/icp_multi.c b/drivers/staging/comedi/drivers/icp_multi.c index ef2359f148db..e7496225f3c1 100644 --- a/drivers/staging/comedi/drivers/icp_multi.c +++ b/drivers/staging/comedi/drivers/icp_multi.c @@ -132,7 +132,6 @@ struct boardtype { char cardtype; /* 0=ICP Multi */ const struct comedi_lrange *rangelist_ai; /* rangelist for A/D */ const char *rangecode; /* range codes for programming */ - const struct comedi_lrange *rangelist_ao; /* rangelist for D/A */ }; struct icp_multi_private { @@ -883,7 +882,6 @@ static const struct boardtype boardtypes[] = { .cardtype = TYPE_ICP_MULTI, .rangelist_ai = &range_analog, .rangecode = range_codes_analog, - .rangelist_ao = &range_analog, }, };