staging: comedi: usbduxfast: remove unnecessary clearing of private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 24 Aug 2015 17:14:06 +0000 (10:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:26 +0000 (18:24 -0700)
commite48c9c260189e28b57ab3a7cf68c5a29ab6dbf51
tree2c83eda77010bb669f2eb428dd6a446bfbb25c4a
parent42293db075e121d6baef4d0cd7865e060631f3ac
staging: comedi: usbduxfast: remove unnecessary clearing of private data

The clearing of the private data members in the (*detatch) is not
necessary. The comedi core is going to kfree the private data as soon
as the (*detach) finishes.

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/usbduxfast.c
This page took 0.026102 seconds and 5 git commands to generate.