RE: [PATCH net 1/2] net/tls: remove set but not used variables

2019-05-10 Thread John Fastabend
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_dev

[PATCH net 1/2] net/tls: remove set but not used variables

2019-05-09 Thread Jakub Kicinski
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