Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318187
b: refs/heads/master
c: 9e16d45
h: refs/heads/master
i:
  318185: e4b75f7
  318183: 9132f87
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jul 21, 2012
1 parent 2e8d11d commit 037b60d
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 1,156 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eaae2e9223e859cd968b58bd3173a3f17b50538d
refs/heads/master: 9e16d457689d1b866e8c1b7de331cb069e341f4c
1 change: 0 additions & 1 deletion trunk/drivers/staging/csr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,5 @@ csr_helper-y := csr_time.o \
csr_framework_ext.o \
csr_wifi_serialize_primitive_types.o \
csr_serialize_primitive_types.o \
csr_utf16.o \
csr_msgconv.o \
csr_panic.o
1 change: 0 additions & 1 deletion trunk/drivers/staging/csr/csr_msgconv.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <linux/types.h>
#include "csr_prim_defs.h"
#include "csr_sched.h"
#include "csr_unicode.h"

#ifdef __cplusplus
extern "C" {
Expand Down
28 changes: 28 additions & 0 deletions trunk/drivers/staging/csr/csr_serialize_primitive_types.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,34 @@
#include "csr_macro.h"
#include "csr_lib.h"

/********************************************************************************
*
* Name: CsrUtf16StrLen
*
* Description: The function returns the number of 16 bit elements present
* in the 0-terminated string.
*
* Input: 0-terminated string of 16 bit unicoded characters.
*
* Output: The number of 16 bit elements in the string.
*
*********************************************************************************/
static u32 CsrUtf16StrLen(const u16 *unicodeString)
{
u32 length;

length = 0;
if (unicodeString != NULL)
{
while (*unicodeString)
{
length++;
unicodeString++;
}
}
return length;
}

void CsrUint8Des(u8 *value, u8 *buffer, size_t *offset)
{
*value = buffer[*offset];
Expand Down
87 changes: 0 additions & 87 deletions trunk/drivers/staging/csr/csr_unicode.h

This file was deleted.

Loading

0 comments on commit 037b60d

Please sign in to comment.