mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
smack: Remove redundant assignments
Get rid of redundant assignments which end up in values not being read either because they are overwritten or the function ends. Reported by clang-tidy [deadcode.DeadStores] Signed-off-by: Michal Orzel <michalorzel.eng@gmail.com> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
This commit is contained in:
parent
4b0986a361
commit
eaff451d4b
1 changed files with 0 additions and 1 deletions
|
@ -1192,7 +1192,6 @@ static ssize_t smk_write_net4addr(struct file *file, const char __user *buf,
|
|||
rc = -EINVAL;
|
||||
goto free_out;
|
||||
}
|
||||
m = BEBITS;
|
||||
masks = 32;
|
||||
}
|
||||
if (masks > BEBITS) {
|
||||
|
|
Loading…
Reference in a new issue