git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'selinux-pr-20200601' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git]
/
security
/
selinux
/
ss
/
symtab.c
diff --git
a/security/selinux/ss/symtab.c
b/security/selinux/ss/symtab.c
index dc2ce94165d36a4dd164b4ddacc916f63453236a..92d7a948070eda187f81ffc9a60a37d93083825d 100644
(file)
--- a/
security/selinux/ss/symtab.c
+++ b/
security/selinux/ss/symtab.c
@@
-35,10
+35,7
@@
static int symcmp(struct hashtab *h, const void *key1, const void *key2)
int symtab_init(struct symtab *s, unsigned int size)
{
- s->table = hashtab_create(symhash, symcmp, size);
- if (!s->table)
- return -ENOMEM;
s->nprim = 0;
- return
0
;
+ return
hashtab_init(&s->table, symhash, symcmp, size)
;
}