diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-05-10 02:14:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-10 02:37:39 +0300 |
commit | 88c80bee883e7687d2672f84fd6d0fa1cee3d348 (patch) | |
tree | ec5cae95a53f021fdbf9de7e5c7eddba35855f67 /net/tls/tls_sw.c | |
parent | 15192f253e0484909292d8809f0b70d71fdc7291 (diff) | |
download | linux-88c80bee883e7687d2672f84fd6d0fa1cee3d348.tar.xz |
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 <vakul.garg@nxp.com>
CC: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/tls_sw.c')
0 files changed, 0 insertions, 0 deletions