[media] davinci: vpfe: dm365: remove duplicate RSZ_LPF_INT_MASK

Message ID 20140609151046.GE9600@mwanda (mailing list archive)
State Accepted, archived
Delegated to: Hans Verkuil
Headers

Commit Message

Dan Carpenter June 9, 2014, 3:10 p.m. UTC
  The RSZ_LPF_INT_MASK define is cut and pasted twice so we can remove the
second instance.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Comments

Prabhakar June 10, 2014, 7:56 a.m. UTC | #1
Hi Dan,

Thanks for the patch.

On Mon, Jun 9, 2014 at 4:10 PM, Dan Carpenter <dan.carpenter@oracle.com> wrote:
> The RSZ_LPF_INT_MASK define is cut and pasted twice so we can remove the
> second instance.
>
Applied.

Regards,
--Prabhakar Lad

> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>
> diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h b/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h
> index 010fdb2..81176fb 100644
> --- a/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h
> +++ b/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h
> @@ -479,7 +479,6 @@
>  #define RSZ_TYP_Y_SHIFT                        0
>  #define RSZ_TYP_C_SHIFT                        1
>  #define RSZ_LPF_INT_MASK               0x3f
> -#define RSZ_LPF_INT_MASK               0x3f
>  #define RSZ_LPF_INT_C_SHIFT            6
>  #define RSZ_H_PHS_MASK                 0x3fff
>  #define RSZ_H_DIF_MASK                 0x3fff
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Patch

diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h b/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h
index 010fdb2..81176fb 100644
--- a/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h
+++ b/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h
@@ -479,7 +479,6 @@ 
 #define RSZ_TYP_Y_SHIFT			0
 #define RSZ_TYP_C_SHIFT			1
 #define RSZ_LPF_INT_MASK		0x3f
-#define RSZ_LPF_INT_MASK		0x3f
 #define RSZ_LPF_INT_C_SHIFT		6
 #define RSZ_H_PHS_MASK			0x3fff
 #define RSZ_H_DIF_MASK			0x3fff