diff options
author | Tom Rix <trix@redhat.com> | 2023-03-21 19:34:39 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2023-04-22 12:53:59 +0200 |
commit | fc0c5db58f4c78b948acfbf9558eeaf6b343bf9a (patch) | |
tree | eee4d3adca3bfa6ebba5ee6df5ffbb4e465935e5 /drivers/watchdog/wdt285.c | |
parent | watchdog: aspeed: Drop of_match_ptr for ID table (diff) | |
download | linux-fc0c5db58f4c78b948acfbf9558eeaf6b343bf9a.tar.xz linux-fc0c5db58f4c78b948acfbf9558eeaf6b343bf9a.zip |
watchdog: s3c2410: remove unused freq_to_wdt and s3c2410wdt_is_running functions
clang with W=1 reports
drivers/watchdog/s3c2410_wdt.c:311:35: error: unused function
'freq_to_wdt' [-Werror,-Wunused-function]
static inline struct s3c2410_wdt *freq_to_wdt(struct notifier_block *nb)
^
drivers/watchdog/s3c2410_wdt.c:446:19: error: unused function
's3c2410wdt_is_running' [-Werror,-Wunused-function]
static inline int s3c2410wdt_is_running(struct s3c2410_wdt *wdt)
^
These functions are not used, so remove them.
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230321183439.1826823-1-trix@redhat.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/wdt285.c')
0 files changed, 0 insertions, 0 deletions