aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2007-05-10 16:23:05 -0400
committerTony Luck <tony.luck@intel.com>2007-05-10 16:23:05 -0400
commit3e3d32770204ea24cf71919a90d9ccfc2bd407dd (patch)
treeed013d46528e056c532b343da3305547a9b3426c /drivers
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')
-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)
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