summaryrefslogtreecommitdiff
path: root/drivers/watchdog/acquirewdt.c
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-05-08 15:12:06 +0800
committerWim Van Sebroeck <wim@linux-watchdog.org>2018-05-21 21:25:23 +0200
commit343c2302bb4235bbe4db218f0b02c96570c63f6a (patch)
tree4a142818de6f3ee3151b7ed9788c55354c868a8b /drivers/watchdog/acquirewdt.c
parentb1eb8fedc01499132ced4b2a44b3ab3855c4e681 (diff)
watchdog: mena21_wdt: Drop unnecessary mutex lock
There is already a mutex in the watchdog core which serializes calls to the various API functions. So the mutex lock "drv->lock" is unnecessary and can be dropped. Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Reviewed-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/watchdog/acquirewdt.c')
0 files changed, 0 insertions, 0 deletions