summaryrefslogtreecommitdiffstats
path: root/drivers/w1/w1_family.h
diff options
context:
space:
mode:
authorDavid Fries <david@fries.net>2008-10-16 07:04:52 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 20:21:50 +0200
commitfe3cb82364332b9db3b574e9e41de9c27eff470a (patch)
treebd9e30ff2e2dce91e5632d1e1459304ef1d2d3f7 /drivers/w1/w1_family.h
parentW1: w1_therm fix user buffer overflow and cat (diff)
downloadlinux-fe3cb82364332b9db3b574e9e41de9c27eff470a.tar.xz
linux-fe3cb82364332b9db3b574e9e41de9c27eff470a.zip
W1: w1_family, remove unused variable need_exit
Removed the w1_family structure member variable need_exit. It was only being set and never used. Even if it were to be used it is a polling type operation. Signed-off-by: David Fries <david@fries.net> Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/w1/w1_family.h')
-rw-r--r--drivers/w1/w1_family.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/w1/w1_family.h b/drivers/w1/w1_family.h
index 296a87edd922..30531331a643 100644
--- a/drivers/w1/w1_family.h
+++ b/drivers/w1/w1_family.h
@@ -53,7 +53,6 @@ struct w1_family
struct w1_family_ops *fops;
atomic_t refcnt;
- u8 need_exit;
};
extern spinlock_t w1_flock;