]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/port/devtls.c
devtls: remove static "already" flag in tlsinit(). this function is only run once.
[plan9front.git] / sys / src / 9 / port / devtls.c
index 7ed6d2755528e7d7770b94c125d3a3eaddb8d787..177d8ecb4243f2be49f892b4fd988265ec995527 100644 (file)
@@ -1793,12 +1793,8 @@ tlsinit(void)
        struct Hashalg *h;
        int n;
        char *cp;
-       static int already;
 
-       if(!already){
-               fmtinstall('H', encodefmt);
-               already = 1;
-       }
+       fmtinstall('H', encodefmt);
 
        tlsdevs = smalloc(sizeof(TlsRec*) * maxtlsdevs);
        trnames = smalloc((sizeof *trnames) * maxtlsdevs);