aboutsummaryrefslogtreecommitdiff
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2017-10-12 10:24:53 +0200
committerDavid S. Miller <[email protected]>2017-10-12 23:00:50 -0700
commitab104615e01c2c4cbe9ea4073a430d51f6547dd2 (patch)
treeac06d6152aa2e3f24b03076cce168874fd1ca140 /net/tipc/node.c
parentc669b5cf42d0b066ced7ab70e7cf15e2155acb2c (diff)
ravb: Consolidate clock handling
The module clock is used for two purposes: - Wake-on-LAN (WoL), which is optional, - gPTP Timer Increment (GTI) configuration, which is mandatory. As the clock is needed for GTI configuration anyway, WoL is always available. Hence remove duplication and repeated obtaining of the clock by making GTI use the stored clock for WoL use. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Reviewed-by: Sergei Shtylyov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions