diff options
| author | 2015-08-24 10:13:56 -0700 | |
|---|---|---|
| committer | 2015-09-12 18:24:24 -0700 | |
| commit | fd9fe1fc1cd4771eff4666379b915661d7a4f0d2 (patch) | |
| tree | 0dd371196bc20a2236c61218ed58641ee267271a /include/linux/timerqueue.h | |
| parent | staging: comedi: usbduxfast: only chanlist of 1, 2, 3, or 16 are supported (diff) | |
staging: comedi: usbduxfast: remove impossible 'if (!devpriv)' checks
The private data 'devpriv' is allocated in the (*auto_attach) before
the subdevices are initialized and the (*auto_attach) has to complete
successfully before the core will call any of the subdevice operations.
Because of this the (!devpriv) checks in the subdevice code can never
fail. Remove them.
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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
