selinux: Remove redundant assignment to rc
[sfrench/cifs-2.6.git] / security / selinux / ss / policydb.c
index 9fccf417006b06cf9b209a5df2ac815811e03bc7..defc5ef35c665b59e3f9f7936f33c632edc85c45 100644 (file)
@@ -2589,7 +2589,6 @@ int policydb_read(struct policydb *p, void *fp)
                if (rc)
                        goto bad;
 
-               rc = -EINVAL;
                rtk->role = le32_to_cpu(buf[0]);
                rtk->type = le32_to_cpu(buf[1]);
                rtd->new_role = le32_to_cpu(buf[2]);