aboutsummaryrefslogtreecommitdiff
path: root/drivers/watchdog/da9052_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/watchdog/da9052_wdt.c')
-rw-r--r--drivers/watchdog/da9052_wdt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/watchdog/da9052_wdt.c b/drivers/watchdog/da9052_wdt.c
index 8be70d8f268..367445009c6 100644
--- a/drivers/watchdog/da9052_wdt.c
+++ b/drivers/watchdog/da9052_wdt.c
@@ -53,10 +53,6 @@ static const struct {
static void da9052_wdt_release_resources(struct kref *r)
{
- struct da9052_wdt_data *driver_data =
- container_of(r, struct da9052_wdt_data, kref);
-
- kfree(driver_data);
}
static int da9052_wdt_set_timeout(struct watchdog_device *wdt_dev,