mirror of https://github.com/schoebel/mars
net: remove superfluous check
This commit is contained in:
parent
3a638f0a79
commit
53e9adb326
|
@ -102,11 +102,6 @@ int mars_recv_dent_list(struct mars_global *global, struct mars_socket *sock)
|
|||
struct list_head *hash_anchor;
|
||||
unsigned int hash;
|
||||
|
||||
if (!dent)
|
||||
return -ENOMEM;
|
||||
|
||||
//MARS_IO("\n");
|
||||
|
||||
INIT_LIST_HEAD(&dent->dent_link);
|
||||
INIT_LIST_HEAD(&dent->dent_hash_link);
|
||||
INIT_LIST_HEAD(&dent->brick_list);
|
||||
|
|
Loading…
Reference in New Issue