diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/snsc_event.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/snsc_event.c b/drivers/char/snsc_event.c index 2f56e8c54897..1b75b0b7d542 100644 --- a/drivers/char/snsc_event.c +++ b/drivers/char/snsc_event.c | |||
@@ -203,8 +203,6 @@ scdrv_dispatch_event(char *event, int len) | |||
203 | class = (code & EV_CLASS_MASK); | 203 | class = (code & EV_CLASS_MASK); |
204 | 204 | ||
205 | if (class == EV_CLASS_PWRD_NOTIFY || code == ENV_PWRDN_PEND) { | 205 | if (class == EV_CLASS_PWRD_NOTIFY || code == ENV_PWRDN_PEND) { |
206 | struct task_struct *p; | ||
207 | |||
208 | if (snsc_shutting_down) | 206 | if (snsc_shutting_down) |
209 | return; | 207 | return; |
210 | 208 | ||