diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-09-19 15:12:54 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-21 09:19:44 -0700 |
commit | 675f98f101fb6d1a694a03961b36997cb407dfae (patch) | |
tree | b409693b5f52a0f1cdcff0682fe184f7f7ac447c /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 5c813bb100431eff1f78d75682ae1fe2d30744b4 (diff) |
staging: comedi: s526: remove struct s526GPCTConfig
The enum in this struct is used by the driver to know how the
gpct channels have been configured. Instead of using the private
enum S526_GPCT_APP_CLASS, we can just use the INSN_CONFIG_* value
that was passed in data[0] to the s526_gpct_insn_config().
The data array in this struct in never used. It actually could
cause a BUG since it assumes that the data pointer passed to
s526_gpct_insn_config() always has 6 values but the comments
indicate that there are really only 4 or 5.
Remove the s526GPCTConfig struct and associated S526_GPCT_APP_CLASS
enum and just use and unsigned int array in the private data to
hold the gpct configuration.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions