Staging: comedi: range: remove unnecessary sanity check
authorFred Akers <knivey@botops.net>
Thu, 6 Mar 2014 06:57:19 +0000 (01:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Mar 2014 02:59:48 +0000 (18:59 -0800)
commit56b1fcfdeb5897c3406647f2e416d853ffd234c8
tree933aa67ba284008fba08ff8bec595d86f1bec0f1
parentafdc37ee79cd53aad24dd995a1fc55568e4c0baa
Staging: comedi: range: remove unnecessary sanity check

This check is unnecessary because range_table will always be
initialized to range_unknown by comedi_device_postconfig() for
drivers that do not initialize range_table or range_table_list

Signed-off-by: Fred Akers <knivey@botops.net>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/range.c