net: use jiffies_to_msecs to replace EXPIRES_IN_MS in inet/sctp_diag
authorXin Long <lucien.xin@gmail.com>
Tue, 19 Apr 2016 07:10:01 +0000 (15:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 17:55:33 +0000 (13:55 -0400)
commitb7de529c793c9131e58ddca37d49fd26866aa867
treec035315018d32fe1aa69f34d82a37277cf73b059
parent85b67bcb7e4a23ced05e7020bf5843b9857f6881
net: use jiffies_to_msecs to replace EXPIRES_IN_MS in inet/sctp_diag

EXPIRES_IN_MS macro comes from net/ipv4/inet_diag.c and dates
back to before jiffies_to_msecs() has been introduced.

Now we can remove it and use jiffies_to_msecs().

Suggested-by: Jakub Sitnicki <jkbs@redhat.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Jakub Sitnicki <jkbs@redhat.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c
net/sctp/sctp_diag.c