chelsio: remove get_clock and use ktime_get
commitfd3065b25b69ce345073bbd294a73343a608fd8b
authorJan Glauber <jang@linux.vnet.ibm.com>
Wed, 5 Dec 2012 23:20:14 +0000 (5 23:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2012 17:56:22 +0000 (7 12:56 -0500)
treeae42adeddf60d1432bc75a5f466684896242ee9d
parentc63da990cd63153ce5203f96822638a7ef0f9bf7
chelsio: remove get_clock and use ktime_get

The get_clock() of the chelsio driver clashes with the s390 one.
The chelsio helper reads a timespec via ktime just to convert it
back to ktime. I can see no different outcome from calling
ktime_get directly.

Remove the get_clock and use ktime_get directly.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb/sge.c