summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sxg
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2009-01-21 17:15:58 +0100
committerGreg Kroah-Hartman2009-04-03 23:53:11 +0200
commit5774538441aa4255a510ac304d4a3af589cd2c56 (patch)
treed2eabaea08294f4f895d1953184e4582a5451d85 /drivers/staging/sxg
parentStaging: sxg: remove firmware files from sgx_ethtool.c (diff)
downloadkernel-qcow2-linux-5774538441aa4255a510ac304d4a3af589cd2c56.tar.gz
kernel-qcow2-linux-5774538441aa4255a510ac304d4a3af589cd2c56.tar.xz
kernel-qcow2-linux-5774538441aa4255a510ac304d4a3af589cd2c56.zip
Staging: sxg: fix build warnings in downloadB firmware files
These variables are never used, so #ifdef them away. This should probably be fixed up properly from someone who knows why we are even including these files in the first place, when they do not seem to be needed at all. Cc: Mithlesh Thukral <mithlesh@linsyssoft.com> Cc: LinSysSoft Sahara Team <saharaproj@linsyssoft.com> Cc: Christopher Harrer <charrer@alacritech.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sxg')
-rw-r--r--drivers/staging/sxg/saharadbgdownloadB.c2
-rw-r--r--drivers/staging/sxg/saharadownloadB.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/staging/sxg/saharadbgdownloadB.c b/drivers/staging/sxg/saharadbgdownloadB.c
index 0d2ae1495102..3643c4814968 100644
--- a/drivers/staging/sxg/saharadbgdownloadB.c
+++ b/drivers/staging/sxg/saharadbgdownloadB.c
@@ -2,6 +2,7 @@
#define SAHARA_B_UCODE_VERS_DATE "$Date: 2008/08/19 00:05:59 $"
#define SAHARA_B_UCODE_HOSTIF_ID 3
+#if 0
static u32 SBNumSections = 0x1;
static u32 SBSectionSize[] =
{
@@ -12,3 +13,4 @@ static u32 SBSectionStart[] =
0x00000000, 0x00001fff, };
static unsigned char SaharaUCodeB[1][1];
+#endif
diff --git a/drivers/staging/sxg/saharadownloadB.c b/drivers/staging/sxg/saharadownloadB.c
index 0d2ae1495102..3643c4814968 100644
--- a/drivers/staging/sxg/saharadownloadB.c
+++ b/drivers/staging/sxg/saharadownloadB.c
@@ -2,6 +2,7 @@
#define SAHARA_B_UCODE_VERS_DATE "$Date: 2008/08/19 00:05:59 $"
#define SAHARA_B_UCODE_HOSTIF_ID 3
+#if 0
static u32 SBNumSections = 0x1;
static u32 SBSectionSize[] =
{
@@ -12,3 +13,4 @@ static u32 SBSectionStart[] =
0x00000000, 0x00001fff, };
static unsigned char SaharaUCodeB[1][1];
+#endif