Skip to content

Commit

Permalink
staging: csr: remove csr_util.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Jul 20, 2012
1 parent df73850 commit d63123f
Show file tree
Hide file tree
Showing 19 changed files with 18 additions and 36 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/csr/csr_formatted_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
on the license terms.
*****************************************************************************/

#include <linux/kernel.h>
#include "csr_formatted_io.h"
#include "csr_util.h"

s32 CsrSnprintf(char *dest, size_t n, const char *fmt, ...)
{
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_msgconv.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "csr_panic.h"
#include "csr_sched.h"
#include "csr_msgconv.h"
#include "csr_util.h"
#include "csr_macro.h"

static CsrMsgConvEntry *converter;

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_pmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*****************************************************************************/

#include <linux/types.h>
#include "csr_util.h"
#include "csr_macro.h"

#ifdef __cplusplus
extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_serialize_primitive_types.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <linux/module.h>
#include "csr_prim_defs.h"
#include "csr_msgconv.h"
#include "csr_util.h"
#include "csr_macro.h"
#include "csr_pmem.h"
#include "csr_lib.h"

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_utf16.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <linux/module.h>
#include "csr_pmem.h"
#include "csr_unicode.h"
#include "csr_util.h"
#include "csr_macro.h"

#define UNI_SUR_HIGH_START ((u32) 0xD800)
#define UNI_SUR_HIGH_END ((u32) 0xDBFF)
Expand Down
16 changes: 0 additions & 16 deletions drivers/staging/csr/csr_util.h

This file was deleted.

2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_fsm_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extern "C" {
#endif

#include <linux/types.h>
#include "csr_util.h"
#include "csr_macro.h"
#include "csr_pmem.h"
#include "csr_panic.h"
#include "csr_sched.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_hip_unifi.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ extern "C" {
#include "csr_framework_ext.h" /* from the synergy porting folder */
#include "csr_sdio.h" /* from the synergy porting folder */
#include "csr_pmem.h" /* from the synergy porting folder */
#include "csr_util.h" /* from the synergy porting folder */
#include "csr_macro.h" /* from the synergy porting folder */
#include "csr_formatted_io.h" /* from the synergy gsp folder */
#include "csr_wifi_result.h"

Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_nme_ap_converter_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "csr_msgconv.h"
#include "csr_pmem.h"
#include "csr_util.h"
#include "csr_macro.h"

#ifdef CSR_WIFI_NME_ENABLE
#ifdef CSR_WIFI_AP_ENABLE
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_nme_ap_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
#include "csr_macro.h"
#include "csr_msg_transport.h"

#include "csr_wifi_lib.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_nme_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
#include "csr_macro.h"
#include "csr_msg_transport.h"

#include "csr_wifi_lib.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_router_converter_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "csr_msgconv.h"
#include "csr_pmem.h"
#include "csr_util.h"
#include "csr_macro.h"


#ifdef CSR_LOG_ENABLE
Expand Down
3 changes: 1 addition & 2 deletions drivers/staging/csr/csr_wifi_router_ctrl_converter_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@

#include "csr_msgconv.h"
#include "csr_pmem.h"
#include "csr_util.h"

#include "csr_macro.h"

#ifdef CSR_LOG_ENABLE
#include "csr_log.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_router_ctrl_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
#include "csr_macro.h"
#include "csr_msg_transport.h"

#include "csr_wifi_lib.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_router_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
#include "csr_macro.h"
#include "csr_msg_transport.h"

#include "csr_wifi_lib.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_serialize_primitive_types.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <linux/module.h>
#include "csr_pmem.h"
#include "csr_util.h"
#include "csr_macro.h"
#include "csr_msgconv.h"
#include "csr_wifi_msgconv.h"
#include "csr_wifi_lib.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_sme_ap_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
#include "csr_macro.h"
#include "csr_msg_transport.h"

#include "csr_wifi_lib.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_sme_converter_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "csr_msgconv.h"
#include "csr_pmem.h"
#include "csr_util.h"
#include "csr_macro.h"


#ifdef CSR_LOG_ENABLE
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/csr/csr_wifi_sme_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include "csr_pmem.h"
#include "csr_sched.h"
#include "csr_util.h"
#include "csr_macro.h"
#include "csr_msg_transport.h"

#include "csr_wifi_lib.h"
Expand Down

0 comments on commit d63123f

Please sign in to comment.