diff options
author | Shivani Bhardwaj <shivanib134@gmail.com> | 2015-10-14 00:36:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-17 08:05:40 +0300 |
commit | f955a398f2cc5bc896388b8046c3c12fc5ec687b (patch) | |
tree | 74111cbc8a9d83e4b5b3756a80ef00b0fad345fd /drivers/staging/sm750fb/sm750.c | |
parent | b02f9240e0e02a030883e3bb7f712f5e1ea58ac9 (diff) | |
download | linux-f955a398f2cc5bc896388b8046c3c12fc5ec687b.tar.xz |
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: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/sm750.c')
-rw-r--r-- | drivers/staging/sm750fb/sm750.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 8c1ecb32f953..805a403eaba4 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -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, |