summaryrefslogtreecommitdiffstats
path: root/drivers/staging/cxt1e1/sbeid.c
diff options
context:
space:
mode:
authorShaun Laing <shaun@XResource.ca>2013-08-09 07:54:24 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-12 15:20:25 -0700
commit37ca35c47b9eda39bad70a4546c0ec01e8b0e576 (patch)
tree2b4dbbbc8141830820b94b6acaa06ff8bcf84d09 /drivers/staging/cxt1e1/sbeid.c
parenta539c72a195c081d950475c2945cb82d80be9b66 (diff)
downloadop-kernel-dev-37ca35c47b9eda39bad70a4546c0ec01e8b0e576.zip
op-kernel-dev-37ca35c47b9eda39bad70a4546c0ec01e8b0e576.tar.gz
staging: cxt1e1: Remove #define SBE_INCLUDE_SYMBOLS
Removed the unneeded SBE_INCLUDE_SYMBOLS #define, and the associated STATIC #define, and replaced all occurances of STATIC with 'static'. This was in response to sparse warnings of the form "symbol 'XYZ' was not declared. Should it be static?". Removed a function prototype (musycc_init_port) as adding the 'static' declaration produced a new gcc warning. (musycc_init_port is only declared if SBE_WAN256T3_ENABLE is set) Signed-off-by: Shaun Laing <shaun@xresource.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/cxt1e1/sbeid.c')
-rw-r--r--drivers/staging/cxt1e1/sbeid.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/cxt1e1/sbeid.c b/drivers/staging/cxt1e1/sbeid.c
index 0f9bd5f..791993f 100644
--- a/drivers/staging/cxt1e1/sbeid.c
+++ b/drivers/staging/cxt1e1/sbeid.c
@@ -19,13 +19,6 @@
#include "pmcc4.h"
#include "sbe_bid.h"
-#ifdef SBE_INCLUDE_SYMBOLS
-#define STATIC
-#else
-#define STATIC static
-#endif
-
-
char *
sbeid_get_bdname (ci_t *ci)
{
OpenPOWER on IntegriCloud