ila: Fix uninitialised return value in ila_xlat_nl_cmd_flush
This patch fixes an uninitialised return value error in
ila_xlat_nl_cmd_flush.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 6c4128f658
("rhashtable: Remove obsolete...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
41411e2fd6
Коммит
4ef595cbb3
|
@ -383,7 +383,7 @@ int ila_xlat_nl_cmd_flush(struct sk_buff *skb, struct genl_info *info)
|
|||
struct rhashtable_iter iter;
|
||||
struct ila_map *ila;
|
||||
spinlock_t *lock;
|
||||
int ret;
|
||||
int ret = 0;
|
||||
|
||||
rhashtable_walk_enter(&ilan->xlat.rhash_table, &iter);
|
||||
rhashtable_walk_start(&iter);
|
||||
|
|
Загрузка…
Ссылка в новой задаче