best = mode; 
best = cmode; 
struct fb_videomode *fb_find_nearest_mode(struct fb_var_screeninfo *var,					  struct list_head *head){	struct list_head *pos;	struct fb_modelist *modelist;	struct fb_videomode *mode, *best = NULL;	u32 diff = -1, diff_refresh = -1;	list_for_each(pos, head) {		u32 d;		modelist = list_entry(pos, struct fb_modelist, list);		mode = &modelist->mode;		d = abs(mode->xres - var->xres) +			abs(mode->yres - var->yres);		if (diff > d) {			diff = d;			best = mode;		} else if (diff == d) {			d = abs(mode->refresh - best->refresh);			if (diff_refresh > d) {				diff_refresh = d;				best = mode;			}		}	}	return best;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/8fb6567e347a04d44b57e2b223cc5845859dfc6a/modedb.c/clean/drivers/video/modedb.c