staging: comedi: addi_apci_1564: remove null check of devpriv in apci1564_detach()
authorChase Southwood <chase.southwood@gmail.com>
Fri, 11 Jul 2014 04:02:27 +0000 (23:02 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 00:38:42 +0000 (17:38 -0700)
commit71893bb077a61c7b590bf7780422407a01a409c0
tree2ab5ce698ee96e516e98cdfcd767d2eaf59d8eba
parenteb2547db7525d14f67c6c4ad19b1ccfe14ef63ac
staging: comedi: addi_apci_1564: remove null check of devpriv in apci1564_detach()

There is no need to test whether devpriv is null in this function.  The
check looks left over and we can just remove it.

Signed-off-by: Chase Southwood <chase.southwood@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_1564.c