mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-20 12:54:36 +08:00
selinux: Delete an unnecessary variable initialisation in range_read()
The local variable "rt" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning which became unnecessary with a previous update step. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
57152a5be0
commit
9c312e79d6
@ -1841,7 +1841,7 @@ u32 string_to_av_perm(struct policydb *p, u16 tclass, const char *name)
|
|||||||
|
|
||||||
static int range_read(struct policydb *p, void *fp)
|
static int range_read(struct policydb *p, void *fp)
|
||||||
{
|
{
|
||||||
struct range_trans *rt = NULL;
|
struct range_trans *rt;
|
||||||
struct mls_range *r = NULL;
|
struct mls_range *r = NULL;
|
||||||
int i, rc;
|
int i, rc;
|
||||||
__le32 buf[2];
|
__le32 buf[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user