mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
![Greg Kroah-Hartman](/assets/img/avatar_default.png)
Now that the header file has nothing in it, remove it from the tree, and adjust the places that were including it. Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com> Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com> Cc: Riku Mettälä <riku.mettala@bluegiga.com> Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
27 lines
700 B
C
27 lines
700 B
C
/*****************************************************************************
|
|
|
|
(c) Cambridge Silicon Radio Limited 2010
|
|
All rights reserved and confidential information of CSR
|
|
|
|
Refer to LICENSE.txt included with this source for details
|
|
on the license terms.
|
|
|
|
*****************************************************************************/
|
|
#include <linux/kernel.h>
|
|
#include "csr_formatted_io.h"
|
|
|
|
s32 CsrSnprintf(char *dest, size_t n, const char *fmt, ...)
|
|
{
|
|
s32 r;
|
|
va_list args;
|
|
va_start(args, fmt);
|
|
r = vsnprintf(dest, n, fmt, args);
|
|
va_end(args);
|
|
|
|
if (dest && (n > 0))
|
|
{
|
|
dest[n - 1] = '\0';
|
|
}
|
|
|
|
return r;
|
|
}
|