projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[media] several drivers: Fix a few gcc 4.6 warnings
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
media
/
video
/
au0828
/
au0828-video.c
diff --git
a/drivers/media/video/au0828/au0828-video.c
b/drivers/media/video/au0828/au0828-video.c
index 9c475c600fc9c9a0d8a5f7a568dae7a88579ee4d..6ad83a15d073c07cb9ed0eda2029df155eb5cc15 100644
(file)
--- a/
drivers/media/video/au0828/au0828-video.c
+++ b/
drivers/media/video/au0828/au0828-video.c
@@
-1177,10
+1177,6
@@
static int au0828_set_format(struct au0828_dev *dev, unsigned int cmd,
int ret;
int width = format->fmt.pix.width;
int height = format->fmt.pix.height;
- unsigned int maxwidth, maxheight;
-
- maxwidth = 720;
- maxheight = 480;
if (format->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
return -EINVAL;