aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/snsc_event.c
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2007-05-10 13:23:05 -0700
committerTony Luck <tony.luck@intel.com>2007-05-10 13:23:05 -0700
commit3e3d32770204ea24cf71919a90d9ccfc2bd407dd (patch)
treeed013d46528e056c532b343da3305547a9b3426c /drivers/char/snsc_event.c
parent34eac2abcba1c07c47bfff86701a4f80f5553fa6 (diff)
[IA64] drivers/char/snsc_event.c:206: warning: unused variable `p'
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'drivers/char/snsc_event.c')
-rw-r--r--drivers/char/snsc_event.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/snsc_event.c b/drivers/char/snsc_event.c
index 2f56e8c5489..1b75b0b7d54 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;