staging: comedi: ni_labpc: remove unnecessary private data validation
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 21 Jan 2015 22:11:46 +0000 (15:11 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 11:59:13 +0000 (19:59 +0800)
commitaae59483bce95c3fffd4fa66d5360712f372ba1a
tree0cac4112a6e7cc88e869e453fb134eb7f0d20d8d
parent67a0149ee6b20e3e3da15be27acdbec319214280
staging: comedi: ni_labpc: remove unnecessary private data validation

The labpc_free_dma_chan() function validates the private data. Remove the
unnecessary validation in labpc_datach().

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>
drivers/staging/comedi/drivers/ni_labpc.c