From 45fa9a90a696c0123dd9258d6d520029a1f3f9bf Mon Sep 17 00:00:00 2001 From: Henry Ptasinski Date: Thu, 7 Oct 2010 19:52:08 -0700 Subject: [PATCH] staging: brcm80211: Remove unnecessary hndtcam.h The header file is unnecessary. Delete it and don't include it. Signed-off-by: Henry Ptasinski Signed-off-by: Greg Kroah-Hartman --- drivers/staging/brcm80211/include/hndtcam.h | 48 --------------------- drivers/staging/brcm80211/util/siutils.c | 1 - 2 files changed, 49 deletions(-) delete mode 100644 drivers/staging/brcm80211/include/hndtcam.h diff --git a/drivers/staging/brcm80211/include/hndtcam.h b/drivers/staging/brcm80211/include/hndtcam.h deleted file mode 100644 index 738ef9135a8b..000000000000 --- a/drivers/staging/brcm80211/include/hndtcam.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) 2010 Broadcom Corporation - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY - * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -#ifndef _hndtcam_h_ -#define _hndtcam_h_ - -/* - * 0 - 1 - * 1 - 2 Consecutive locations are patched - * 2 - 4 Consecutive locations are patched - * 3 - 8 Consecutive locations are patched - * 4 - 16 Consecutive locations are patched - * Define default to patch 2 locations - */ - -#define PATCHCOUNT 0 -#define SRPC_PATCHCOUNT PATCHCOUNT - -/* N Consecutive location to patch */ -#define SRPC_PATCHNLOC (1 << (SRPC_PATCHCOUNT)) - -/* patch values and address structure */ -typedef struct patchaddrvalue { - uint32 addr; - uint32 value; -} patchaddrvalue_t; - -extern void hnd_patch_init(void *srp); -extern void hnd_tcam_write(void *srp, u16 index, uint32 data); -extern void hnd_tcam_read(void *srp, u16 index, uint32 * content); -void *hnd_tcam_init(void *srp, uint no_addrs); -extern void hnd_tcam_disablepatch(void *srp); -extern void hnd_tcam_enablepatch(void *srp); -extern void hnd_tcam_load(void *srp, const patchaddrvalue_t * patchtbl); -#endif /* _hndtcam_h_ */ diff --git a/drivers/staging/brcm80211/util/siutils.c b/drivers/staging/brcm80211/util/siutils.c index 73b8a00a7432..c77df1bca671 100644 --- a/drivers/staging/brcm80211/util/siutils.c +++ b/drivers/staging/brcm80211/util/siutils.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #ifdef BCMSDIO -- 2.39.5