diff options
author | Daniel Walker <dwalker@codeaurora.org> | 2010-06-17 17:18:53 -0400 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-06-17 17:29:54 -0400 |
commit | 529d1a361978ab6f986514d852e0eebc0a2c4040 (patch) | |
tree | 188957c4e2c0fff5e1c775b53f923cf8aecb590c /drivers/video | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) |
drivers: video: msm: drop some unused variables
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/msm/mddi.c | 2 | ||||
-rw-r--r-- | drivers/video/msm/mdp.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c index c1ff271017a9..844eff3ca8e6 100644 --- a/drivers/video/msm/mddi.c +++ b/drivers/video/msm/mddi.c | |||
@@ -187,10 +187,8 @@ static void mddi_wait_interrupt(struct mddi_info *mddi, uint32_t intmask); | |||
187 | 187 | ||
188 | static void mddi_handle_rev_data_avail(struct mddi_info *mddi) | 188 | static void mddi_handle_rev_data_avail(struct mddi_info *mddi) |
189 | { | 189 | { |
190 | union mddi_rev *rev = mddi->rev_data; | ||
191 | uint32_t rev_data_count; | 190 | uint32_t rev_data_count; |
192 | uint32_t rev_crc_err_count; | 191 | uint32_t rev_crc_err_count; |
193 | int i; | ||
194 | struct reg_read_info *ri; | 192 | struct reg_read_info *ri; |
195 | size_t prev_offset; | 193 | size_t prev_offset; |
196 | uint16_t length; | 194 | uint16_t length; |
diff --git a/drivers/video/msm/mdp.c b/drivers/video/msm/mdp.c index 19c01c6208e8..3c28db03ad39 100644 --- a/drivers/video/msm/mdp.c +++ b/drivers/video/msm/mdp.c | |||
@@ -258,7 +258,6 @@ int get_img(struct mdp_img *img, struct fb_info *info, | |||
258 | { | 258 | { |
259 | int put_needed, ret = 0; | 259 | int put_needed, ret = 0; |
260 | struct file *file; | 260 | struct file *file; |
261 | unsigned long vstart; | ||
262 | 261 | ||
263 | file = fget_light(img->memory_id, &put_needed); | 262 | file = fget_light(img->memory_id, &put_needed); |
264 | if (file == NULL) | 263 | if (file == NULL) |