lkml.org 
[lkml]   [2010]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] Staging: otus: removes global variable initialization to 0 in wwrap.c
Date
This is a patch to the wwrap.c file that removes the initialization
of global variable 'smp_kevent_Lock' to 0

Signed-off-by: Prashant P. Shah <pshah.mumbai@gmail.com>
---
drivers/staging/otus/wwrap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/otus/wwrap.c b/drivers/staging/otus/wwrap.c
index eee2f56..cab9ffb 100644
--- a/drivers/staging/otus/wwrap.c
+++ b/drivers/staging/otus/wwrap.c
@@ -939,7 +939,7 @@ u32_t zfwReadReg(zdev_t *dev, u32_t offset)

#define KEVENT_WATCHDOG 0x00000001

-u32_t smp_kevent_Lock = 0;
+u32_t smp_kevent_Lock;

void kevent(struct work_struct *work)
{
--
1.6.0.4


\
 
 \ /
  Last update: 2010-09-07 15:17    [W:0.046 / U:0.808 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site