diff options
| author | H Hartley Sweeten <[email protected]> | 2016-04-14 09:58:02 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-28 22:17:28 -0700 |
| commit | 2e2f7b70374bc420d4695675ccc5b35756badef6 (patch) | |
| tree | ded7b17f8700c3f3821bbef625f12b1fc253aac9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 1392dccbbd70a064864ac698e2897a22a8ce370c (diff) | |
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 <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions