projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f5042d
)
staging: xgifb: delete duplicated code
author
Aaro Koskinen
<aaro.koskinen@iki.fi>
Mon, 29 Aug 2011 20:14:19 +0000
(23:14 +0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 6 Sep 2011 18:41:20 +0000
(11:41 -0700)
Delete redundant branches for "mode" and "vesa" options.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/xgifb/XGI_main_26.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/xgifb/XGI_main_26.c
b/drivers/staging/xgifb/XGI_main_26.c
index eca5ed74feb59faa44fc94732b67f00d00f2de73..ceb0883ebf05cbeaff0b94b9ba73999112a07f4a 100644
(file)
--- a/
drivers/staging/xgifb/XGI_main_26.c
+++ b/
drivers/staging/xgifb/XGI_main_26.c
@@
-1954,11
+1954,6
@@
static int __init XGIfb_setup(char *options)
} else if (!strncmp(this_opt, "vesa:", 5)) {
XGIfb_search_vesamode(simple_strtoul(
this_opt + 5, NULL, 0));
- } else if (!strncmp(this_opt, "mode:", 5)) {
- XGIfb_search_mode(this_opt + 5);
- } else if (!strncmp(this_opt, "vesa:", 5)) {
- XGIfb_search_vesamode(simple_strtoul(
- this_opt + 5, NULL, 0));
} else if (!strncmp(this_opt, "vrate:", 6)) {
xgi_video_info.refresh_rate = simple_strtoul(
this_opt + 6, NULL, 0);