diff options
| author | stephen hemminger <stephen@networkplumber.org> | 2017-07-24 10:25:22 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-07-25 12:31:37 -0700 |
| commit | 614d79c09e03d4a421f6d7eab1804600db33e04e (patch) | |
| tree | b570331c2ce49ad92d9eb374893421234a2b0e42 /scripts/patch-kernel | |
| parent | netfilter: remove unused variable (diff) | |
| download | linux-614d79c09e03d4a421f6d7eab1804600db33e04e.tar.gz linux-614d79c09e03d4a421f6d7eab1804600db33e04e.zip | |
socket: fix set not used warning
The variable owned_by_user is always set, but only used
when kernel is configured with LOCKDEP enabled.
Get rid of the warning by moving the code to put the call
to owned_by_user into the the rcu_protected call.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
