Skip to content

Commit

Permalink
drivers: video: msm: drop some unused variables
Browse files Browse the repository at this point in the history
Just dropping a couple of warnings from this driver,

linux-2.6/drivers/video/msm/mdp.c: In function 'get_img':
linux-2.6/drivers/video/msm/mdp.c:261: warning: unused variable 'vstart'

linux-2.6/drivers/video/msm/mddi.c: In function 'mddi_handle_rev_data_avail':
linux-2.6/drivers/video/msm/mddi.c:193: warning: unused variable 'i'
linux-2.6/drivers/video/msm/mddi.c:190: warning: unused variable 'rev'

Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
  • Loading branch information
Daniel Walker committed Jun 17, 2010
1 parent 7e27d6e commit 529d1a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/video/msm/mddi.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,8 @@ static void mddi_wait_interrupt(struct mddi_info *mddi, uint32_t intmask);

static void mddi_handle_rev_data_avail(struct mddi_info *mddi)
{
union mddi_rev *rev = mddi->rev_data;
uint32_t rev_data_count;
uint32_t rev_crc_err_count;
int i;
struct reg_read_info *ri;
size_t prev_offset;
uint16_t length;
Expand Down
1 change: 0 additions & 1 deletion drivers/video/msm/mdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ int get_img(struct mdp_img *img, struct fb_info *info,
{
int put_needed, ret = 0;
struct file *file;
unsigned long vstart;

file = fget_light(img->memory_id, &put_needed);
if (file == NULL)
Expand Down

0 comments on commit 529d1a3

Please sign in to comment.