Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f955a398 authored by Shivani Bhardwaj's avatar Shivani Bhardwaj Committed by Greg Kroah-Hartman
Browse files

Staging: sm750fb: sm750: Remove irrelevant code



The variable ret is only declared and initialized to 0, but never
referenced, so remove it.

Signed-off-by: default avatarShivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b02f9240
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -524,14 +524,12 @@ static int lynxfb_ops_check_var(struct fb_var_screeninfo *var,
	struct lynxfb_crtc *crtc;
	struct lynxfb_output *output;
	struct lynx_share *share;
	int ret;
	resource_size_t request;

	par = info->par;
	crtc = &par->crtc;
	output = &par->output;
	share = par->share;
	ret = 0;

	pr_debug("check var:%dx%d-%d\n",
		 var->xres,