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>
This commit is contained in:

committed by
Linus Torvalds

vanhempi
347ba8a588
commit
fe3cb82364
@@ -53,7 +53,6 @@ struct w1_family
|
||||
struct w1_family_ops *fops;
|
||||
|
||||
atomic_t refcnt;
|
||||
u8 need_exit;
|
||||
};
|
||||
|
||||
extern spinlock_t w1_flock;
|
||||
|
Viittaa uudesa ongelmassa
Block a user