OSDN Git Service

i40iw: remove unused 'timeval' struct member
authorArnd Bergmann <arnd@arndb.de>
Mon, 27 Nov 2017 11:38:09 +0000 (12:38 +0100)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 11 Dec 2017 23:19:42 +0000 (16:19 -0700)
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>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/i40iw/i40iw_cm.h

index 0d5840d..1577608 100644 (file)
@@ -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 {