aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-08-24 10:13:56 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-12 18:24:24 -0700
commitfd9fe1fc1cd4771eff4666379b915661d7a4f0d2 (patch)
tree0dd371196bc20a2236c61218ed58641ee267271a /kernel/sysctl_binary.c
parentstaging: 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 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions