summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2016-04-14 09:58:02 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-28 22:17:28 -0700
commit2e2f7b70374bc420d4695675ccc5b35756badef6 (patch)
treeded7b17f8700c3f3821bbef625f12b1fc253aac9 /tools/perf/scripts/python
parent1392dccbbd70a064864ac698e2897a22a8ce370c (diff)
downloadkernel-2e2f7b70374bc420d4695675ccc5b35756badef6.tar.gz
staging: comedi: ni_mio_common: tidy up ni_gpct_write_register()
The 'bits' value passed to this function is properly set by the callers so the BUG_ON() can never occur when writing to the NITIO_G[01]_INT_ENA and NITIO_G01_RESET registers. Remove the BUG_ON() checks. For aesthetic, also remove the static const variables. They don't add any additional clarity. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions