projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b02f924
)
Staging: sm750fb: sm750: Remove irrelevant code
author
Shivani Bhardwaj
<
[email protected]
>
Tue, 13 Oct 2015 21:36:20 +0000
(
03:06
+0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 17 Oct 2015 05:05:40 +0000
(22:05 -0700)
The variable ret is only declared and initialized to 0, but never
referenced, so remove it.
Signed-off-by: Shivani Bhardwaj <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/sm750fb/sm750.c
patch
|
blob
|
history
diff --git
a/drivers/staging/sm750fb/sm750.c
b/drivers/staging/sm750fb/sm750.c
index 8c1ecb32f95384b0f486d5947282274b0bc7ea50..805a403eaba4d67e903ed51f6222cc19c5b0287b 100644
(file)
--- 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,