summaryrefslogtreecommitdiffstats
path: root/drivers/char/snsc_event.c
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2007-05-10 22:23:05 +0200
committerTony Luck <tony.luck@intel.com>2007-05-10 22:23:05 +0200
commit3e3d32770204ea24cf71919a90d9ccfc2bd407dd (patch)
treeed013d46528e056c532b343da3305547a9b3426c /drivers/char/snsc_event.c
parent[IA64] mca.c:121: warning: 'cpe_poll_timer' defined but not used (diff)
downloadlinux-3e3d32770204ea24cf71919a90d9ccfc2bd407dd.tar.xz
linux-3e3d32770204ea24cf71919a90d9ccfc2bd407dd.zip
[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 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)
class = (code & EV_CLASS_MASK);
if (class == EV_CLASS_PWRD_NOTIFY || code == ENV_PWRDN_PEND) {
- struct task_struct *p;
-
if (snsc_shutting_down)
return;