Commit 57745384 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent aac6d7be
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#define SAHARA_B_UCODE_VERS_DATE "$Date: 2008/08/19 00:05:59 $" #define SAHARA_B_UCODE_VERS_DATE "$Date: 2008/08/19 00:05:59 $"
#define SAHARA_B_UCODE_HOSTIF_ID 3 #define SAHARA_B_UCODE_HOSTIF_ID 3
#if 0
static u32 SBNumSections = 0x1; static u32 SBNumSections = 0x1;
static u32 SBSectionSize[] = static u32 SBSectionSize[] =
{ {
...@@ -12,3 +13,4 @@ static u32 SBSectionStart[] = ...@@ -12,3 +13,4 @@ static u32 SBSectionStart[] =
0x00000000, 0x00001fff, }; 0x00000000, 0x00001fff, };
static unsigned char SaharaUCodeB[1][1]; static unsigned char SaharaUCodeB[1][1];
#endif
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#define SAHARA_B_UCODE_VERS_DATE "$Date: 2008/08/19 00:05:59 $" #define SAHARA_B_UCODE_VERS_DATE "$Date: 2008/08/19 00:05:59 $"
#define SAHARA_B_UCODE_HOSTIF_ID 3 #define SAHARA_B_UCODE_HOSTIF_ID 3
#if 0
static u32 SBNumSections = 0x1; static u32 SBNumSections = 0x1;
static u32 SBSectionSize[] = static u32 SBSectionSize[] =
{ {
...@@ -12,3 +13,4 @@ static u32 SBSectionStart[] = ...@@ -12,3 +13,4 @@ static u32 SBSectionStart[] =
0x00000000, 0x00001fff, }; 0x00000000, 0x00001fff, };
static unsigned char SaharaUCodeB[1][1]; static unsigned char SaharaUCodeB[1][1];
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment