Code refactoring

Removed few dead assignments and added variables initialization.
This commit is contained in:
Michal Mielewczyk
2019-01-16 03:58:09 -05:00
parent b9fce50783
commit 916f46c893
7 changed files with 8 additions and 10 deletions

View File

@@ -639,7 +639,7 @@ static inline void __remove_line_from_waiters_list(struct ocf_cache_concurrency
struct __waiters_list *lst = &c->waiters_lsts[idx];
struct list_head *iter, *next;
struct __waiter *waiter;
unsigned long flags;
unsigned long flags = 0;
__lock_waiters_list(c, line, flags);