From a0e688b60da9331cd6166404f719bf838cbf8193 Mon Sep 17 00:00:00 2001 From: GWater Date: Fri, 9 May 2008 22:51:02 +0200 Subject: [PATCH] Remove function set_buf(). --- microdia-dev.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/microdia-dev.c b/microdia-dev.c index 046ecde..e35e24e 100644 --- a/microdia-dev.c +++ b/microdia-dev.c @@ -35,27 +35,6 @@ #include "ov965x.h" #include "mt9vx11.h" -/** - * @brief Helper function that initializes a buffer in a more readable way - * - * @param buf Buffer to set - * @param size buf's size - * - * @brief fill a buffer with constant values - * - * Fills the buffer buf of dimmension size with the falues passed as next parameters - * - */ -void set_buf(__u8* buf, int size, ...) -{ - int i=0; - va_list ap; - va_start(ap, size); - while(i < size) - buf[i++] = (__u8)va_arg(ap, int); - va_end(ap); -} - /** * @brief From UsbSnoop-plugin-parsed.log * -- 2.11.4.GIT