From: Greg Kroah-Hartman Date: Wed, 21 Jan 2009 16:15:58 +0000 (-0800) Subject: Staging: sxg: fix build warnings in downloadB firmware files X-Git-Tag: v2.6.30-rc1~202^2~671 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5774538441aa4255a510ac304d4a3af589cd2c56;p=karo-tx-linux.git 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 Cc: LinSysSoft Sahara Team Cc: Christopher Harrer Signed-off-by: Greg Kroah-Hartman --- 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