]> err.no Git - linux-2.6/commitdiff
[IA64] drivers/char/snsc_event.c:206: warning: unused variable `p'
authorTony Luck <tony.luck@intel.com>
Thu, 10 May 2007 20:23:05 +0000 (13:23 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 10 May 2007 20:23:05 +0000 (13:23 -0700)
Signed-off-by: Tony Luck <tony.luck@intel.com>
drivers/char/snsc_event.c

index 2f56e8c54897d5c55ca1caec974c95e43c787fd6..1b75b0b7d5429dae92918dc1987c813b1de25138 100644 (file)
@@ -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;