ref: dd4de0b0fa99364265ff6e99462259b8aef493c1
parent: 0930f44febd25c27fb717e7323686e50c4fa0593
author: cinap_lenrek <[email protected]>
date: Thu Nov 17 13:14:06 EST 2016
devtls: remove unused get32() function
--- a/sys/src/9/port/devtls.c
+++ b/sys/src/9/port/devtls.c
@@ -237,7 +237,6 @@
static void put32(uchar *p, u32int);
static void put24(uchar *p, int);
static void put16(uchar *p, int);
-static u32int get32(uchar *p);
static int get16(uchar *p);
static void tlsSetState(TlsRec *tr, int new, int old);
static void rcvAlert(TlsRec *tr, int err);
@@ -2327,12 +2326,6 @@
{
p[0] = x>>8;
p[1] = x;
-}
-
-static u32int
-get32(uchar *p)
-{
- return (p[0]<<24)|(p[1]<<16)|(p[2]<<8)|p[3];
}
static int