diff options
author | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-22 09:05:43 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-22 09:05:43 +0000 |
commit | b66aa08df846bbbbc41d21cd42052d4c96b84668 (patch) | |
tree | 9d796b023ac4c0e6dff0e317d499faf034595a18 /drivers/input/touchscreen/ts_filter_mean.c | |
parent | c08433d1b54a2cadc7061a2bd68fbf1a4d42fcca (diff) |
Diffstat (limited to 'drivers/input/touchscreen/ts_filter_mean.c')
-rw-r--r-- | drivers/input/touchscreen/ts_filter_mean.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/input/touchscreen/ts_filter_mean.c b/drivers/input/touchscreen/ts_filter_mean.c index b589bee826f..2322432fc3f 100644 --- a/drivers/input/touchscreen/ts_filter_mean.c +++ b/drivers/input/touchscreen/ts_filter_mean.c @@ -94,12 +94,6 @@ static void ts_filter_mean_destroy(struct ts_filter *tsf) { struct ts_filter_mean *tsfs = (struct ts_filter_mean *)tsf; - if (!tsf) - return; - - if (tsf->next) /* chain */ - (tsf->next->api->destroy)(tsf->next); - kfree(tsfs->fifo[0]); /* first guy has pointer from kmalloc */ kfree(tsf); } |