From c2af5b9681a9d1beaf37310ee3d6a5c4860750d5 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Fri, 23 Aug 2013 14:45:05 +0100 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed