Removed printsf, an unused secure testing printf variant. This variant does not apply now that each test has its own secret.

Fixed unused variable in libtest161 in kernel compiles.
This commit is contained in:
Scott Haseley
2016-02-29 16:43:35 -05:00
parent a5963a0e31
commit e7ec655415
4 changed files with 9 additions and 27 deletions

View File

@@ -19,13 +19,15 @@
// Hack for allocating userspace memory without malloc.
#define BUFFER_SIZE 4096
#ifndef _KERNEL
static char temp_buffer[BUFFER_SIZE];
static char write_buffer[BUFFER_SIZE];
#endif
static inline void * _alloc(size_t size)
{
#ifdef _KERNEL
(void)temp_buffer;
return kmalloc(size);
#else
(void)size;