diff mbox series

[1/2] i40iw: remove unused 'timeval' struct member

Message ID 20171127113819.2413554-1-arnd@arndb.de
State New
Headers show
Series [1/2] i40iw: remove unused 'timeval' struct member | expand

Commit Message

Arnd Bergmann Nov. 27, 2017, 11:38 a.m. UTC
There is a stale entry in i40iw_cm_tcp_context that apparently
was copied from the 'nes' driver but never used in i40iw.
I'm trying to kill off all users of timeval as part of the
y2038-safety work, so let's just remove this one.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 drivers/infiniband/hw/i40iw/i40iw_cm.h | 2 --
 1 file changed, 2 deletions(-)

-- 
2.9.0

Comments

Saleem, Shiraz Nov. 28, 2017, 6:37 p.m. UTC | #1
On Mon, Nov 27, 2017 at 04:38:09AM -0700, Arnd Bergmann wrote:
> There is a stale entry in i40iw_cm_tcp_context that apparently

> was copied from the 'nes' driver but never used in i40iw.

> I'm trying to kill off all users of timeval as part of the

> y2038-safety work, so let's just remove this one.

> 

> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

> ---


Thanks!

Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Jason Gunthorpe Dec. 11, 2017, 11:38 p.m. UTC | #2
On Mon, Nov 27, 2017 at 12:38:09PM +0100, Arnd Bergmann wrote:
> There is a stale entry in i40iw_cm_tcp_context that apparently

> was copied from the 'nes' driver but never used in i40iw.

> I'm trying to kill off all users of timeval as part of the

> y2038-safety work, so let's just remove this one.

> 

> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

> Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>

>  drivers/infiniband/hw/i40iw/i40iw_cm.h | 2 --

>  1 file changed, 2 deletions(-)


Applied both of these patches in the series to for-next

Thanks,
Jason
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/i40iw/i40iw_cm.h b/drivers/infiniband/hw/i40iw/i40iw_cm.h
index 0d5840d2c4fc..1577608fc51a 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_cm.h
+++ b/drivers/infiniband/hw/i40iw/i40iw_cm.h
@@ -276,8 +276,6 @@  struct i40iw_cm_tcp_context {
 	u32 mss;
 	u8 snd_wscale;
 	u8 rcv_wscale;
-
-	struct timeval sent_ts;
 };
 
 enum i40iw_cm_listener_state {