Commit 9e533ec6 authored by Wim Van Sebroeck's avatar Wim Van Sebroeck

[WATCHDOG] v2.6.4 notifier_block-patches

Remove unnecessary initialization in notifier_block
parent b52ce0ba
......@@ -256,8 +256,6 @@ static struct miscdevice advwdt_miscdev = {
static struct notifier_block advwdt_notifier = {
.notifier_call = advwdt_notify_sys,
.next = NULL,
.priority = 0,
};
static int __init
......
......@@ -385,8 +385,6 @@ static struct miscdevice ali_miscdev = {
static struct notifier_block ali_notifier = {
.notifier_call = ali_notify_sys,
.next = NULL,
.priority = 0,
};
/*
......
......@@ -303,8 +303,6 @@ static int wdt_notify_sys(struct notifier_block *this, unsigned long code, void
static struct notifier_block wdt_notifier=
{
.notifier_call = wdt_notify_sys,
.next = 0,
.priority = 0,
};
static void __exit alim7101_wdt_unload(void)
......
......@@ -284,8 +284,6 @@ static struct miscdevice ibwdt_miscdev = {
static struct notifier_block ibwdt_notifier = {
.notifier_call = ibwdt_notify_sys,
.next = NULL,
.priority = 0,
};
static int __init ibwdt_init(void)
......
......@@ -447,8 +447,6 @@ static struct miscdevice zf_miscdev = {
*/
static struct notifier_block zf_notifier = {
.notifier_call = zf_notify_sys,
.next = NULL,
.priority = 0,
};
static void __init zf_show_action(int act)
......
......@@ -322,8 +322,6 @@ static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
static struct notifier_block wdt_notifier=
{
.notifier_call = wdt_notify_sys,
.next = NULL,
.priority = 0,
};
static void __exit sbc60xxwdt_unload(void)
......
......@@ -354,8 +354,6 @@ static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
static struct notifier_block wdt_notifier=
{
.notifier_call = wdt_notify_sys,
.next = NULL,
.priority = 0,
};
static void __exit sc520_wdt_unload(void)
......
......@@ -257,8 +257,6 @@ static struct miscdevice wdt_miscdev = {
static struct notifier_block wdt_notifier = {
.notifier_call = wdt_notify_sys,
.next = NULL,
.priority = 0,
};
static int __init
......
......@@ -341,8 +341,6 @@ static int wdt_notify_sys(struct notifier_block *this, unsigned long code,
static struct notifier_block wdt_notifier=
{
.notifier_call = wdt_notify_sys,
.next = NULL,
.priority = 0,
};
static void __exit w83877f_wdt_unload(void)
......
......@@ -252,8 +252,6 @@ static struct miscdevice wafwdt_miscdev = {
static struct notifier_block wafwdt_notifier = {
.notifier_call = wafwdt_notify_sys,
.next = NULL,
.priority = 0,
};
static int __init wafwdt_init(void)
......
......@@ -459,8 +459,6 @@ static struct miscdevice temp_miscdev=
static struct notifier_block wdt_notifier=
{
.notifier_call = wdt_notify_sys,
.next = NULL,
.priority = 0,
};
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment