]> arthur.barton.de Git - netatalk.git/blobdiff - etc/papd/session.c
pap, remove or #if 0 unused static stuff
[netatalk.git] / etc / papd / session.c
index d59680559b35fc527d10487cefa950105fb91517..7067f5f0acb18a25a5eed03a1edb89ad74c72c7d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: session.c,v 1.19 2009-10-14 02:24:05 didg Exp $
+ * $Id: session.c,v 1.20 2009-10-16 01:10:59 didg Exp $
  *
  * Copyright (c) 1990,1994 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -46,16 +46,6 @@ static struct iovec  niov[ PAP_MAXQUANTUM ] = {
     { buf[ 6 ],        0 },
     { buf[ 7 ],        0 },
 };
-static struct iovec    iov[ PAP_MAXQUANTUM ] = {
-    { buf[ 0 ] + 4,    0 },
-    { buf[ 1 ] + 4,    0 },
-    { buf[ 2 ] + 4,    0 },
-    { buf[ 3 ] + 4,    0 },
-    { buf[ 4 ] + 4,    0 },
-    { buf[ 5 ] + 4,    0 },
-    { buf[ 6 ] + 4,    0 },
-    { buf[ 7 ] + 4,    0 },
-};
 
 /*
  * Accept files until the client closes the connection.