Staging: sxg: fix build warnings in downloadB firmware files
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jan 2009 16:15:58 +0000 (08:15 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:11 +0000 (14:53 -0700)
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>
drivers/staging/sxg/saharadbgdownloadB.c
drivers/staging/sxg/saharadownloadB.c

index 0d2ae1495102ea1ad7a4ae0dc3d923171f9b5db2..3643c4814968b9d6208701758e3a17e945bd162c 100644 (file)
@@ -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
index 0d2ae1495102ea1ad7a4ae0dc3d923171f9b5db2..3643c4814968b9d6208701758e3a17e945bd162c 100644 (file)
@@ -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