staging: comedi: comedi_bond: no need to free dev->private on detach
authorIan Abbott <abbotti@mev.co.uk>
Fri, 23 Aug 2013 13:45:05 +0000 (14:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Aug 2013 13:41:56 +0000 (06:41 -0700)
commitc2af5b9681a9d1beaf37310ee3d6a5c4860750d5
treed66c0d4ac016b517a0bf1c7577ea7985776a8ef7
parentad9f81f0b591986db6db1f750d7203db2d33c040
staging: comedi: comedi_bond: no need to free dev->private on detach

The comedi core will free `dev->private` if it is non-NULL after calling
the "detach" handler (`bonding_detach()`), so don't bother freeing it in
`bonding_detach()`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/comedi_bond.c