commit | 2779b7e51497b5d0855dc7d21d793998acd2ad5f | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Fri Aug 14 15:23:30 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Sep 12 18:24:17 2015 -0700 |
tree | 2bf90bac1ec399d2f064c7948cdc6ed53f85b691 | |
parent | 1e4c3a2e7da0f7e40f79ba1e219ccbe1d8a79f56 [diff] |
staging: comedi: usbdux: remove impossible 'if (!devpriv)' check The comedi core can only call this subdevice function is the private data was successfully allocated during the (*auto_attach). Remove the unnecessary check. 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>