diff options
| author | Namhyung Kim <namhyung@kernel.org> | 2014-06-15 01:19:01 +0900 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-24 02:55:08 +0200 |
| commit | 1d2dc9679e5719e1649335b22dec4daceeeb2dd1 (patch) | |
| tree | 570d7780fe4605ec9143a960aaedd603ec236b67 /scripts/patch-kernel | |
| parent | 1f4f8665b96e6d258f79add4314f43678a8bf967 (diff) | |
selinux: simple cleanup for cond_read_node()
The node->cur_state and len can be read in a single call of next_entry().
And setting len before reading is a dead write so can be eliminated.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
(Minor tweak to the length parameter in the call to next_entry())
Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
