Jakub Kicinski wrote:
> 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.g...@nxp.com>
> CC: Boris Pismenny <bor...@mellanox.com>
> Signed-off-by: Jakub Kicinski <jakub.kicin...@netronome.com>
> Reviewed-by: Dirk van der Merwe <dirk.vanderme...@netronome.com>
> ---
>  net/tls/tls_device.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 

Acked-by: John Fastabend <john.fastab...@gmail.com>

Reply via email to