net: sock: Use USEC_PER_SEC macro instead of literal 1000000
authorGao Feng <fgao@ikuai8.com>
Tue, 21 Feb 2017 09:09:19 +0000 (17:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Feb 2017 17:25:21 +0000 (12:25 -0500)
commit8ccde4c562076f280c0321c549d822448b64e565
treeade08c5030db335c54d3ad32c02b39b8efeaee05
parentf6b10209b90d48a84f886ab2b317b5d2cbfe3143
net: sock: Use USEC_PER_SEC macro instead of literal 1000000

The USEC_PER_SEC is used once in sock_set_timeout as the max value of
tv_usec. But there are other similar codes which use the literal
1000000 in this file.
It is minor cleanup to keep consitent.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c