aboutsummaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-05-09 16:14:06 -0700
committerDavid S. Miller <[email protected]>2019-05-09 16:37:39 -0700
commit88c80bee883e7687d2672f84fd6d0fa1cee3d348 (patch)
treeec5cae95a53f021fdbf9de7e5c7eddba35855f67 /security/selinux/hooks.c
parent15192f253e0484909292d8809f0b70d71fdc7291 (diff)
net/tls: remove set but not used variables
Commit 4504ab0e6eb8 ("net/tls: Inform user space about send buffer availability") made us report write_space regardless whether partial record push was successful or not. Remove the now unused return value to clean up the following W=1 warning: net/tls/tls_device.c: In function ‘tls_device_write_space’: net/tls/tls_device.c:546:6: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] int rc = 0; ^~ CC: Vakul Garg <[email protected]> CC: Boris Pismenny <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Dirk van der Merwe <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions