6D)¼Æ¼þÐÍн{³êÉè}¼Æ
2013152631
Dprj_2818.xls
Description: Binary data
___
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
Delete unused function XGI_GetSenseStatus().
Static functions XGINew_Is301B(), XGINew_Sense(), XGINew_GetPanelID(),
XGINew_BridgeIsEnable() and XGINew_SenseHiTV() can be deleted as well,
since they are not used anymore.
Signed-off-by: Aaro Koskinen
---
drivers/staging/xgifb/vb_ext.c | 375
The function is used only in vb_init.c, so move it there and make
it static.
Signed-off-by: Aaro Koskinen
---
drivers/staging/xgifb/vb_ext.c | 42 -
drivers/staging/xgifb/vb_ext.h |3 --
drivers/staging/xgifb/vb_init.c | 44 ++
Eliminate an unnecessary wrapper function.
Signed-off-by: Aaro Koskinen
---
drivers/staging/xgifb/vb_ext.c | 14 +-
1 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/drivers/staging/xgifb/vb_ext.c b/drivers/staging/xgifb/vb_ext.c
index fb6d63c..f85d7d64 100644
--- a/d
Delete empty files.
Signed-off-by: Aaro Koskinen
---
drivers/staging/xgifb/Makefile |2 +-
drivers/staging/xgifb/vb_ext.c | 15 ---
drivers/staging/xgifb/vb_ext.h |4
drivers/staging/xgifb/vb_init.c |1 -
4 files changed, 1 insertions(+), 21 deletions(-)
delete
Hi,
This series deletes vb_ext.c and vb_ext.h files. There is only one
function needed, and it can be moved elsewhere.
The patches are based and tested on top of the current staging-next
(1ea6b8f48918282bdca0b32a34095504ee65bab5).
Testing:
- compile-tested with GCC 4.6.1 + sparse, no war
Use kmemdup rather than duplicating its implementation
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Thomas Meyer
---
diff -u -p a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
--- a/drivers/staging/hv/hv_mouse.c 20
Use kmemdup rather than duplicating its implementation
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Thomas Meyer
---
diff -u -p a/drivers/staging/gma500/intel_bios.c
b/drivers/staging/gma500/intel_bios.c
--- a/drivers/staging/gma
Use kmemdup rather than duplicating its implementation
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Thomas Meyer
---
diff -u -p a/drivers/staging/media/go7007/go7007-driver.c
b/drivers/staging/media/go7007/go7007-driver.c
--- a/d
Use kmemdup rather than duplicating its implementation
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Thomas Meyer
---
diff -u -p a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c
--- a/drivers/staging/hv/hv_mouse.c 20
Use kmemdup rather than duplicating its implementation
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Thomas Meyer
---
diff -u -p a/drivers/staging/media/go7007/go7007-driver.c
b/drivers/staging/media/go7007/go7007-driver.c
--- a/d
Use kmemdup rather than duplicating its implementation
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Thomas Meyer
---
diff -u -p a/drivers/staging/gma500/intel_bios.c
b/drivers/staging/gma500/intel_bios.c
--- a/drivers/staging/gma
Use kmemdup rather than duplicating its implementation
The semantic patch that makes this change is available
in scripts/coccinelle/api/memdup.cocci.
Signed-off-by: Thomas Meyer
---
diff -u -p a/drivers/staging/speakup/kobjects.c
b/drivers/staging/speakup/kobjects.c
--- a/drivers/staging/speak
13 matches
Mail list logo