Skip to contentSkip to conversation

Watchdog: remove outdated comment

PATCH In review Hardik Singh Rathore 2 participants 2 messages Dec 9, 2018 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Watchdog: remove outdated comment

The lock field doesn't exist in watchdog_device structure. It was added by commit f4e9c82f64b5 ("watchdog: Add Locking support") and removed by commit b4ffb1909843
("watchdog: Separate and maintain variables based on variable lifetime")

---
 include/linux/watchdog.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/watchdog.h +0 -3
index 44985c4a1e86..417d9f37077a 100644
@@ -90,9 +90,6 @@ struct watchdog_ops {
  *
  * The driver-data field may not be accessed directly. It must be accessed
  * via the watchdog_set_drvdata and watchdog_get_drvdata helpers.
- *
- * The lock field is for watchdog core internal use only and should not be
- * touched.
  */
 struct watchdog_device {
 	int id;
Signature · 1 line
2.17.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Hardik Singh Rathore

The lock field doesn't exist in watchdog_device structure. It was added by commit f4e9c82f64b5 ("watchdog: Add Locking support") and removed by commit b4ffb1909843
("watchdog: Separate and maintain variables based on variable lifetime")

Quoted 19 lines
---
  include/linux/watchdog.h | 3 ---
  1 file changed, 3 deletions(-)
include/linux/watchdog.h +0 -3
index 44985c4a1e86..417d9f37077a 100644
@@ -90,9 +90,6 @@ struct watchdog_ops {
   *
   * The driver-data field may not be accessed directly. It must be accessed
   * via the watchdog_set_drvdata and watchdog_get_drvdata helpers.
- *
- * The lock field is for watchdog core internal use only and should not be
- * touched.
   */
  struct watchdog_device {
  	int id;