summaryrefslogtreecommitdiff
path: root/vlan.h
diff options
context:
space:
mode:
authorJaroslav Škarvada <jskarvad@redhat.com>2017-07-03 18:24:32 +0200
committerTobias Klauser <tobias.klauser@gmail.com>2017-07-04 10:09:09 +0200
commit551aa0ee996132e443b5d12cbb6f114ac9aabcd3 (patch)
tree582a4ea7edf5ead98f1fe16674b396461208e884 /vlan.h
parent3f6b67be759be729100b54cc26462d7ae0107dfa (diff)
staging: compilation fix with new gcc
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Diffstat (limited to 'vlan.h')
0 files changed, 0 insertions, 0 deletions
oginuid
Move the calculations of values after the allocation in case the allocation fails. This avoids wasting effort in the rare case that it fails, but more importantly saves us extra logic to release the tty ref. Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'Documentation')