aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/ts_filter_median.c
diff options
context:
space:
mode:
authorAndy Green <agreen@pads.home.warmcat.com>2008-11-22 09:05:43 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-22 09:05:43 +0000
commitb66aa08df846bbbbc41d21cd42052d4c96b84668 (patch)
tree9d796b023ac4c0e6dff0e317d499faf034595a18 /drivers/input/touchscreen/ts_filter_median.c
parentc08433d1b54a2cadc7061a2bd68fbf1a4d42fcca (diff)
Diffstat (limited to 'drivers/input/touchscreen/ts_filter_median.c')
-rw-r--r--drivers/input/touchscreen/ts_filter_median.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/input/touchscreen/ts_filter_median.c b/drivers/input/touchscreen/ts_filter_median.c
index fe1b35f110b..47970da3c6a 100644
--- a/drivers/input/touchscreen/ts_filter_median.c
+++ b/drivers/input/touchscreen/ts_filter_median.c
@@ -119,9 +119,6 @@ static void ts_filter_median_destroy(struct ts_filter *tsf)
{
struct ts_filter_median *tsfm = (struct ts_filter_median *)tsf;
- if (tsf->next) /* chain */
- (tsf->next->api->destroy)(tsf->next);
-
kfree(tsfm->sort[0]); /* first guy has pointer from kmalloc */
kfree(tsf);
}