This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] drxd_hard: fix compiler warnings
Author:  Hans Verkuil <[email protected]>
Date:    Thu Aug 25 10:47:15 2011 -0300

Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/dvb/frontends/drxd_hard.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=23aefb7e0e5e8b3766545af51b88fc3eb07532ba

diff --git a/drivers/media/dvb/frontends/drxd_hard.c 
b/drivers/media/dvb/frontends/drxd_hard.c
index bcad01c..88e46f4 100644
--- a/drivers/media/dvb/frontends/drxd_hard.c
+++ b/drivers/media/dvb/frontends/drxd_hard.c
@@ -931,16 +931,15 @@ static int DownloadMicrocode(struct drxd_state *state,
                             const u8 *pMCImage, u32 Length)
 {
        u8 *pSrc;
-       u16 Flags;
        u32 Address;
        u16 nBlocks;
        u16 BlockSize;
-       u16 BlockCRC;
        u32 offset = 0;
        int i, status = 0;
 
        pSrc = (u8 *) pMCImage;
-       Flags = (pSrc[0] << 8) | pSrc[1];
+       /* We're not using Flags */
+       /* Flags = (pSrc[0] << 8) | pSrc[1]; */
        pSrc += sizeof(u16);
        offset += sizeof(u16);
        nBlocks = (pSrc[0] << 8) | pSrc[1];
@@ -957,11 +956,13 @@ static int DownloadMicrocode(struct drxd_state *state,
                pSrc += sizeof(u16);
                offset += sizeof(u16);
 
-               Flags = (pSrc[0] << 8) | pSrc[1];
+               /* We're not using Flags */
+               /* u16 Flags = (pSrc[0] << 8) | pSrc[1]; */
                pSrc += sizeof(u16);
                offset += sizeof(u16);
 
-               BlockCRC = (pSrc[0] << 8) | pSrc[1];
+               /* We're not using BlockCRC */
+               /* u16 BlockCRC = (pSrc[0] << 8) | pSrc[1]; */
                pSrc += sizeof(u16);
                offset += sizeof(u16);
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to