From: Tony Luck Date: Thu, 10 May 2007 20:23:05 +0000 (-0700) Subject: [IA64] drivers/char/snsc_event.c:206: warning: unused variable `p' X-Git-Tag: v2.6.22-rc1~24^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e3d32770204ea24cf71919a90d9ccfc2bd407dd;p=linux-2.6 [IA64] drivers/char/snsc_event.c:206: warning: unused variable `p' Signed-off-by: Tony Luck --- diff --git a/drivers/char/snsc_event.c b/drivers/char/snsc_event.c index 2f56e8c548..1b75b0b7d5 100644 --- a/drivers/char/snsc_event.c +++ b/drivers/char/snsc_event.c @@ -203,8 +203,6 @@ scdrv_dispatch_event(char *event, int len) class = (code & EV_CLASS_MASK); if (class == EV_CLASS_PWRD_NOTIFY || code == ENV_PWRDN_PEND) { - struct task_struct *p; - if (snsc_shutting_down) return;