Skip to content

Commit

Permalink
Staging: sxg: fix build warnings in downloadB firmware files
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Apr 3, 2009
1 parent aac6d7b commit 5774538
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/sxg/saharadbgdownloadB.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] =
{
Expand All @@ -12,3 +13,4 @@ static u32 SBSectionStart[] =
0x00000000, 0x00001fff, };

static unsigned char SaharaUCodeB[1][1];
#endif
2 changes: 2 additions & 0 deletions drivers/staging/sxg/saharadownloadB.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] =
{
Expand All @@ -12,3 +13,4 @@ static u32 SBSectionStart[] =
0x00000000, 0x00001fff, };

static unsigned char SaharaUCodeB[1][1];
#endif

0 comments on commit 5774538

Please sign in to comment.