Cleanup: use DEFINE_URCU_TLS_INIT for all CONFIG_RCU_TLS configurations
[lttng-ust.git] / liblttng-ust / lttng-context-net-ns.c
index c1ae97967ab5679d3b68c1328b40f0dcb9b4d4fc..3ce139f62049d1cd287c012e300a22a43ed7c9de 100644 (file)
  * We cache the result to ensure we don't stat(2) the proc filesystem on
  * each event.
  */
-#ifdef CONFIG_RCU_TLS
-static DEFINE_URCU_TLS(ino_t, cached_net_ns) = NS_INO_UNINITIALIZED;
-#else
 static DEFINE_URCU_TLS_INIT(ino_t, cached_net_ns, NS_INO_UNINITIALIZED);
-#endif
 
 static
 ino_t get_net_ns(void)
This page took 0.023453 seconds and 4 git commands to generate.