Skip to content
Permalink
Browse files

fbdev: bcm2708_fb: remove unused variable and duplicated comment (#1426)

The yres varialbe is not used anywhere in this function. Also this comment looks
to be duplicated. Remove them.

Signed-off-by: Slawomir Stepien <sst@poczta.fm>
  • Loading branch information
dienet authored and popcornmix committed Apr 22, 2016
1 parent 42da70a commit 8f7edb3cfe0c8ee5c3717400a24fdb8a91b18644
Showing with 0 additions and 3 deletions.
  1. +0 −3 drivers/video/fbdev/bcm2708_fb.c
@@ -217,9 +217,6 @@ static int bcm2708_fb_set_bitfields(struct fb_var_screeninfo *var)
static int bcm2708_fb_check_var(struct fb_var_screeninfo *var,
struct fb_info *info)
{
/* info input, var output */
int yres;

/* info input, var output */
print_debug("bcm2708_fb_check_var info(%p) %dx%d (%dx%d), %d, %d\n", info,
info->var.xres, info->var.yres, info->var.xres_virtual,

0 comments on commit 8f7edb3

Please sign in to comment.
You can’t perform that action at this time.