[PATCH 7/13] staging: wlags49_h2: make return of 0 explicit

2014-05-18 Thread Julia Lawall
From: Julia Lawall Delete unnecessary local variable whose value is always 0 and that hides the fact that the result is always 0. A simplified version of the semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ local idexpression ret; expression e; p

[PATCH 0/13] make return of 0 explicit

2014-05-18 Thread Julia Lawall
Sometimes a local variable is used as a return value in a case where the return value is always 0. The result is more apparent if this variable is just replaced by 0. This is done by the following semantic patch, although some cleanups may be needed. (http://coccinelle.lip6.fr/) // @r exists@ l

[PATCH 10/13] staging: rtl8192e: make return of 0 explicit

2014-05-18 Thread Julia Lawall
From: Julia Lawall Delete unnecessary use of a local variable to immediately return 0. A simplified version of the semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ local idexpression ret; expression e; position p; @@ -ret = 0; ... when != ret =

[PATCH v2 03/06] staging: crypto: skein: rename skein1024_ctx to skein_1024_ctx

2014-05-18 Thread Anton Saraev
Code have skein_512_ctx and skein_256_ctx but skein1024_ctx. It would be logical to convert these names to a single form. Signed-off-by: Anton Saraev --- drivers/staging/skein/include/skein.h | 14 +++--- drivers/staging/skein/include/skeinApi.h| 2 +- drivers/staging/skein/in

[PATCH v2 06/06] staging: crypto: skein: rename files

2014-05-18 Thread Anton Saraev
camelCase is not accepted in the Linux Kernel. To prepare skein driver for mainline inclusion, we rename all files to non-camelCase equivalents. Signed-off-by: Anton Saraev --- drivers/staging/skein/Makefile | 10 +- drivers/staging/skein/TODO

[PATCH v2 04/06] staging: crypto: skein: rename enums

2014-05-18 Thread Anton Saraev
Linux Kernel use capitalized names for enum. To prepare skein driver to mainline inclusion, we rename all enums to capitalized names. Signed-off-by: Anton Saraev --- drivers/staging/skein/include/skein.h| 6 +++--- drivers/staging/skein/include/skeinApi.h | 8 drivers/stag

[PATCH v2 00/06] staging: crypto: skein: fixing style issues

2014-05-18 Thread Anton Saraev
Hi! To prepare skein driver for mainline inclusion we fixing most of style issues (wrong names of functions, vars, macros, files) and checkpatch problems in this patch set. For example, existing code is widely use camelCase names. This patch fix it. Anton Saraev (6): staging: crypto: skein: re

[PATCH v2 01/06] staging: crypto: skein: rename camelcase functions

2014-05-18 Thread Anton Saraev
camelCase is not accepted in the Linux Kernel. To prepare skein driver for mainline inclusion, we rename all functions to non-camelCase equivalents. Signed-off-by: Anton Saraev --- drivers/staging/skein/TODO | 1 - drivers/staging/skein/include/skein.h| 66 --

[PATCH V3] staging: dgap: implement error handling in dgap_tty_register()

2014-05-18 Thread Daeseok Youn
- alloc_tty_driver() is deprecated so it is changed to tty_alloc_driver() - Pointers which are allocated by alloc_tty_driver() and kzalloc() can be NULL so it need to check NULL for them. - If one of those is failed, it need to add proper handler for avoiding memory leak. - If both of drivers are r

[PATCH V2] staging: dgap: implement error handling in dgap_tty_register()

2014-05-18 Thread Daeseok Youn
>From 3acdda98e73a153a5fb32c2cd401d2dde1653b0a Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Fri, 25 Apr 2014 16:04:59 +0900 Subject: [PATCH] staging: dgap: implement error handling in dgap_tty_register() - alloc_tty_driver() is deprecated so it is changed to tty_alloc_driver() - Pointers whi

Re: [PATCH 0/2] Staging: speakup: Fix deadlock when pasting

2014-05-18 Thread Ben Hutchings
On Mon, 2014-05-19 at 00:50 +0100, Ben Hutchings wrote: > These patches fix a deadlock that can occur when using speakup to paste > a selection. I tested them against 3.12.9, but there don't appear to be > any later changes in this area. [...] Actually, these have also been tested on top of 3.14.

[PATCH 2/2] Staging: speakup: Update __speakup_paste_selection() tty (ab)usage to match vt

2014-05-18 Thread Ben Hutchings
This function is largely a duplicate of paste_selection() in drivers/tty/vt/selection.c, but with its own selection state. The speakup selection mechanism should really be merged with vt. For now, apply the changes from 'TTY: vt, fix paste_selection ldisc handling', 'tty: Make ldisc input flow co

[PATCH 1/2] Staging: speakup: Move pasting into a work item

2014-05-18 Thread Ben Hutchings
Input is handled in softirq context, but when pasting we may need to sleep. speakup_paste_selection() currently tries to bodge this by busy-waiting if in_atomic(), but that doesn't help because the ldisc may also sleep. For bonus breakage, speakup_paste_selection() changes the state of current, e

[PATCH 0/2] Staging: speakup: Fix deadlock when pasting

2014-05-18 Thread Ben Hutchings
These patches fix a deadlock that can occur when using speakup to paste a selection. I tested them against 3.12.9, but there don't appear to be any later changes in this area. Ben. Ben Hutchings (2): Staging: speakup: Move pasting into a work item Staging: speakup: Update __speakup_paste_sel

Re: [PATCH v2 1/1] staging/skein: rename files and clean up directory structure

2014-05-18 Thread Jason Cooper
On Sun, May 18, 2014 at 05:04:50PM -0600, Jake Edge wrote: > On Sun, 18 May 2014 18:52:31 -0400 Jason Cooper wrote: > > > Jake, would you mind dropping this patch and perhaps assisting me with > > reviewing Anton's series? I'll have him resend it as-is and we can go > > from there. > > No, that'

Re: [PATCH v2 1/1] staging/skein: rename files and clean up directory structure

2014-05-18 Thread Jake Edge
On Sun, 18 May 2014 18:52:31 -0400 Jason Cooper wrote: > Jake, would you mind dropping this patch and perhaps assisting me with > reviewing Anton's series? I'll have him resend it as-is and we can go > from there. No, that's fine. Guess I'll put my patches to clean up some other stuff (function

Re: [PATCH v2 1/1] staging/skein: rename files and clean up directory structure

2014-05-18 Thread Jason Cooper
Jake, Anton, On Sun, May 18, 2014 at 12:56:15PM -0600, Jake Edge wrote: > > Clean up file names and locations. Get rid of include/ directory and move > those up to the top-level. Rename files to get rid of upper case. Remove > skeinBlockNo3F.c as it was unused (temporary file or something?). >

Re: [PATCH 1/2] staging: slicoss: rewrite eeprom checksum code

2014-05-18 Thread David Matlack
On Sat, May 17, 2014 at 9:51 PM, David Matlack wrote: > On Sat, May 17, 2014 at 9:12 PM, Joe Perches wrote: >> The if seems unnecessary. >> >> Perhaps declare a u16 return var or use >> >> return lower_16 + upper_16; > > I agree it's fishy... but using overflow doesn't produce the same re

Re: [PATCH 2/5] staging: lustre: lnet: socklnd: Clean up memset(...)

2014-05-18 Thread Joe Perches
On Sun, 2014-05-18 at 18:19 +0100, Masaru Nomura wrote: > Remove prohibited space and fix line over 80 characters of > memset(...) to meet kernel coding style. [] > diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c > b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c [] > @@ -113

Re: [PATCH 0/5] staging: lustre: lnet: klnds: Fix coding style in socklnd.c

2014-05-18 Thread Dan Carpenter
On Sun, May 18, 2014 at 06:19:12PM +0100, Masaru Nomura wrote: > These patches fix warnings below in socklnd.c to meet coding style. > Also fix some indenting due to changes to keep readability. > > WARNING: space prohibited between function name and open parenthesis '(' > WARNING: line over 80 ch

Re: [PATCH 2/5] staging: lustre: lnet: socklnd: Clean up memset(...)

2014-05-18 Thread Masaru Nomura
>> - memset (peer, 0, sizeof (*peer)); /* NULL pointers/clear flags >> etc */ >> + memset(peer, 0, sizeof(*peer)); /* NULL pointers/clear flags etc */ > > It looks like this memset is unnecessary > as it's already zeroed by LIBCFS_ALLOC-> > LIBCFS_ALLOC_GFP->LIBCFS_ALLOC_POST->me

Re: [PATCH 1/1] staging/skein: rename files and clean up directory structure

2014-05-18 Thread Joe Perches
On Sun, 2014-05-18 at 12:36 -0600, Jake Edge wrote: > Clean up file names and locations. Get rid of include/ directory and move > those up to the top-level. Rename files to get rid of upper case. Remove > skeinBlockNo3F.c as it was unused (temporary file or something?). [] > Diff appears to be h

[PATCH v2 1/1] staging/skein: rename files and clean up directory structure

2014-05-18 Thread Jake Edge
Clean up file names and locations. Get rid of include/ directory and move those up to the top-level. Rename files to get rid of upper case. Remove skeinBlockNo3F.c as it was unused (temporary file or something?). Signed-off-by: Jake Edge --- Against next-20140516 v2: use git format-patch -M

Re: [PATCH 1/1] staging/skein: rename files and clean up directory structure

2014-05-18 Thread Jake Edge
On Sun, 18 May 2014 11:42:53 -0700 Joe Perches wrote: > On Sun, 2014-05-18 at 12:36 -0600, Jake Edge wrote: > > Clean up file names and locations. Get rid of include/ directory > > and move those up to the top-level. Rename files to get rid of > > upper case. Remove skeinBlockNo3F.c as it was un

[PATCH 3/5] staging: lustre: lnet: socklnd: Clean up CDEBUG(...)

2014-05-18 Thread Masaru Nomura
Remove prohibited space and fix indenting of following parameters of CDEBUG(...) to meet kernel coding style. Signed-off-by: Masaru Nomura --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c|4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/lustre/lnet

[PATCH 4/5] staging: lustre: lnet: socklnd: Clean up ksocknal_get_peer_info(...)

2014-05-18 Thread Masaru Nomura
Remove prohibited space and fix indenting of following parameter of ksocknal_get_peer_info(...) to meet kernel coding style. Signed-off-by: Masaru Nomura --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c|6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/st

[PATCH 1/5] staging: lustre: lnet: socklnd: Remove prohibited space

2014-05-18 Thread Masaru Nomura
Remove prohibited space between open parenthesis and function name to meet kernel coding style. Signed-off-by: Masaru Nomura --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c| 226 ++-- 1 file changed, 113 insertions(+), 113 deletions(-) diff --git a/drivers/staging/lustr

[PATCH 5/5] staging: lustre: lnet: socklnd: Clean up ksocknal_create_conn(...)

2014-05-18 Thread Masaru Nomura
Remove prohibited space and fix indenting of following parameters of ksocknal_create_conn(...) to meet kernel coding style. Signed-off-by: Masaru Nomura --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c|4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/stagi

[PATCH 2/5] staging: lustre: lnet: socklnd: Clean up memset(...)

2014-05-18 Thread Masaru Nomura
Remove prohibited space and fix line over 80 characters of memset(...) to meet kernel coding style. Signed-off-by: Masaru Nomura --- .../staging/lustre/lnet/klnds/socklnd/socklnd.c|2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lnet/klnds/socklnd

[PATCH 0/5] staging: lustre: lnet: klnds: Fix coding style in socklnd.c

2014-05-18 Thread Masaru Nomura
These patches fix warnings below in socklnd.c to meet coding style. Also fix some indenting due to changes to keep readability. WARNING: space prohibited between function name and open parenthesis '(' WARNING: line over 80 characters Masaru Nomura (5): staging: lustre: lnet: socklnd: Remove pro

Re: [PATCH] Fix for possible null pointer dereference in node.c

2014-05-18 Thread Rickard Strandqvist
Hi The approximately 5,000 errors were not only null pointers, but uninitialized variables, etc. also a mixture of error and warnings. Same I did not consider a reall error. Then a bunch of warnings for printf("%d", unsigned int) and vice versa, which I have not even bothered to check even. Rega

Re: [PATCH 5/5] staging: xgifb: Update TODO

2014-05-18 Thread Greg Kroah-Hartman
On Sun, May 18, 2014 at 12:55:16PM +0200, Lubomir Rintel wrote: > There's no more printk abuse, it's been sorted out in > 448810662ac3 ("Staging: xgifb: Remove printk usage.") Yes, but there are still lots of pr_* calls that should be switched to dev_* calls instead. Or just removed entirely. I'

Re: [PATCH 2/5] staging: xgifb: Drop pr_fmt

2014-05-18 Thread Greg Kroah-Hartman
On Sun, May 18, 2014 at 12:55:13PM +0200, Lubomir Rintel wrote: > It is neither used nor useful. Not true at all. > > Signed-off-by: Lubomir Rintel > --- > drivers/staging/xgifb/XGI_main_26.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/staging/xgifb/XGI_main_26.c > b/dr

Re: [PATCH 2/7] staging: unisys: move uislib/platform proc entry to debugfs

2014-05-18 Thread Greg KH
On Mon, May 12, 2014 at 12:38:30PM -0400, Benjamin Romer wrote: > Convert /proc/uislib/platform to an equivalent entry in debugfs. > > Signed-off-by: Benjamin Romer > --- > drivers/staging/unisys/uislib/uislib.c | 62 > ++ > 1 file changed, 17 insertions(+), 45 d

Re: [PATCH] Fix for possible null pointer dereference in node.c

2014-05-18 Thread Dan Carpenter
On Sun, May 18, 2014 at 05:49:52PM +0200, Rickard Strandqvist wrote: > Hi > > When I run cppcheck find the about 5,000 errors, of these, I selected > the 100 most serious and has made patches. But my ability to immerse > myself in each failure has been limited unfortunately. > I am familiar with

Re: [PATCH] staging: tidspbridge: rmgr: node.c: Fix for possible null pointer dereference

2014-05-18 Thread Dan Carpenter
Sorry, I should have noticed this before, but the subject doesn't match the patch any more. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] staging: tidspbridge: rmgr: node.c: Fix for possible null pointer dereference

2014-05-18 Thread Rickard Strandqvist
Removde unnecessary check for null pointer. Was largely found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/staging/tidspbridge/rmgr/node.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/tidspbridge/rmgr/node.c

Re: [PATCH] Fix for possible null pointer dereference in node.c

2014-05-18 Thread Rickard Strandqvist
Hi When I run cppcheck find the about 5,000 errors, of these, I selected the 100 most serious and has made patches. But my ability to immerse myself in each failure has been limited unfortunately. Okay, I send it through the scripts instead. Best regards Rickard Strandqvist 2014-05-17 20:56 G

Re: [PATCH 13/28] staging: rtl8188eu: Remove unused funtion phy_TxPwrIdxToDbm()

2014-05-18 Thread navin patidar
Subject line of this patch isn't correct, so please ignore it. I've submitted new patch with "[PATCH 13/28] staging: rtl8188eu: Remove unused funtion PHY_ScanOperationBackup8188E()" subject line. regards, navin patidar On Sun, May 18, 2014 at 8:49 PM, navin patidar wrote: > Signed-off-by: navin

[PATCH 13/28] staging: rtl8188eu: Remove unused funtion PHY_ScanOperationBackup8188E()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c |8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c index a7872c8..941ff74 100644 --- a/drivers/staging/rtl

[PATCH 28/28] staging: rtl8188eu:Remove function with empty defination odm_DynamicPrimaryCCA()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm.c |1 - drivers/staging/rtl8188eu/hal/odm_RTL8188E.c |5 - drivers/staging/rtl8188eu/include/odm_RTL8188E.h |2 -- 3 files changed, 8 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c

[PATCH 27/28] staging: rtl8188eu: Remove unused function ODM_DynamicPrimaryCCA_DupRTS()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm_RTL8188E.c |7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c b/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c index 7c1043c..a90b2c5 100644 --- a/drivers/staging/rtl8188eu/hal

[PATCH 26/28] staging: rtl8188eu: Remove unused function DM_DIG_LowerBound_88E()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm_RTL8188E.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c b/drivers/staging/rtl8188eu/hal/odm_RTL8188E.c index 323eb93..7c1043c 100644 --- a/drivers/staging/rtl8188

[PATCH 25/28] staging: rtl8188eu: Remove function with empty defination ODM_CheckPowerStatus()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c b/drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c index 056052d..7c22658 100644 --- a/drivers/staging

[PATCH 24/28] staging: rtl8188eu: Remove unused function ConvertTo_dB()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm.c | 25 - 1 file changed, 25 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index 4442181..425c50a4 100644 --- a/drivers/staging/rtl8188eu/hal/odm.c

[PATCH 23/28] staging: rtl8188eu: Remove unused function odm_SwAntDivChkAntSwitchCallback()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index 8dd5f7e..4442181 100644 --- a/drivers/staging/rtl8188eu/hal/odm.c +++ b/driv

[PATCH 22/28] staging: rtl8188eu: Remove unused funtion odm_DynamicTxPowerNIC()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm.c |9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index cc73188..8dd5f7e 100644 --- a/drivers/staging/rtl8188eu/hal/odm.c +++ b/drivers/stag

[PATCH 21/28] staging: rtl8188eu: Remove unused function odm_RefreshRateAdaptiveMaskAPADSL()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index 01946cc..cc73188 100644 --- a/drivers/staging/rtl8188eu/hal/odm.c +++ b/drivers/staging/r

[PATCH 20/28] staging: rtl8188eu: Remove unused function odm_RefreshRateAdaptiveMaskMP()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index 7319b3e..01946cc 100644 --- a/drivers/staging/rtl8188eu/hal/odm.c +++ b/drivers/staging/r

[PATCH 19/28] staging:rtl8188eu: Remove unused function iodm_1R_CCA()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm.c | 34 -- 1 file changed, 34 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index e8ad880..7319b3e 100644 --- a/drivers/staging/rtl8188eu/ha

[PATCH 18/28] staging: rtl8188eu: Remove unused function odm_DynamicBBPowerSavingInit()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index 2e105b4..e8ad880 100644 --- a/drivers/staging/rtl8188eu/hal/odm.c +++ b/drive

[PATCH 17/28] staging: rtl8188eu: Remove function odm_DynamicBBPowerSaving()

2014-05-18 Thread navin patidar
odm_DynamicBBPowerSaving() has empty defination. Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm.c |6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index d8482ab..2e105b4 100644 --- a/drivers

[PATCH 16/28] staging: rtl8188eu: Remove unused function odm_DIGbyRSSI_LPS()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/odm.c | 45 --- 1 file changed, 45 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/odm.c b/drivers/staging/rtl8188eu/hal/odm.c index 89a26e3..d8482ab 100644 --- a/drivers/staging/rtl8188eu/h

[PATCH 15/28] staging: rtl8188eu: Remove unused function rtl8188e_RF_ChangeTxPath()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c | 23 --- 1 file changed, 23 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c b/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c index 2f1348f..52103da 100644 --- a/dri

[PATCH 14/28] staging: rtl8188eu: Remove unused structure rf_shadow

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c | 22 -- 1 file changed, 22 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c b/drivers/staging/rtl8188eu/hal/rtl8188e_rf6052.c index b1cb5c4..2f1348f 100644 --- a/driv

[PATCH 13/28] staging: rtl8188eu: Remove unused funtion phy_TxPwrIdxToDbm()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c |8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c index a7872c8..941ff74 100644 --- a/drivers/staging/rtl

[PATCH 12/28] staging: rtl8188eu: Remove unused funtion phy_TxPwrIdxToDbm()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c | 34 --- 1 file changed, 34 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c index 099345f..a7872c8 100644 --- a/dri

[PATCH 11/28] staging: rtl8188eu: Remove unused funtion PHY_GetTxPowerLevel8188E()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c | 46 --- 1 file changed, 46 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c index 16f46c3..099345f 100644 --- a/dri

[PATCH 09/28] staging: rtl8188eu: Remove unused function PHY_UpdateTxPowerDbm8188E()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c| 37 drivers/staging/rtl8188eu/include/Hal8188EPhyCfg.h |1 - 2 files changed, 38 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu

[PATCH 10/28] staging:rtl8188eu: Remove unused function phy_DbmToTxPwrIdx()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c | 44 --- 1 file changed, 44 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c index 7cc7f44..16f46c3 100644 --- a/dri

[PATCH 07/28] staging: rtl8188eu: Remove unused function rtl8188e_PHY_ConfigRFWithParaFile()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c | 21 - 1 file changed, 21 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c index 8079fc6..b50df3e 100644 --- a/drive

[PATCH 08/28] staging: rtl8188eu: Remove unused function rtl8192c_PHY_GetHWRegOriginalValue()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c b/drivers/staging/rtl8188eu/hal/rtl8188e_phycfg.c index b50df3e..79f86db 100644 --- a/drivers/

[PATCH 06/28] staging:rtl8188eu:Remove funtion Hal_CustomizeByCustomerID_8188EU()

2014-05-18 Thread navin patidar
Function has empty defination. Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/usb_halinit.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 4c3f8c8..141f85a 100644 --- a/dr

[PATCH 05/28] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/usb_halinit.c |8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 1a83d31..4c3f8c8 100644 --- a/drivers/staging/rtl8188eu/hal/u

[PATCH 04/28] staging: rtl8188eu: Remove unused function _ps_close_RF()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/usb_halinit.c |7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 2fe1135..1a83d31 100644 --- a/drivers/staging/rtl8188eu/hal/us

[PATCH 03/28] staging: rtl8188eu: Remove function with empty definition _ps_open_RF()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/usb_halinit.c |7 --- drivers/staging/rtl8188eu/include/rtl8188e_hal.h |1 - 2 files changed, 8 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c ind

[PATCH 02/28] staging: rtl8188eu: Remove function with empty definition _InitOperationMode()

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/usb_halinit.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 9ce6173..2e7b81ce 100644 --- a/drivers/staging/rtl8188eu/hal/usb

[PATCH 01/28] staging: rtl8188eu: Remove function with empty definition _InitBeaconMaxError().

2014-05-18 Thread navin patidar
Signed-off-by: navin patidar --- drivers/staging/rtl8188eu/hal/usb_halinit.c |8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers/staging/rtl8188eu/hal/usb_halinit.c index 617e4c6..9ce6173 100644 --- a/drivers/staging/rtl8188eu/hal/u

[PATCH 00/28] staging: rtl8188eu: Remove unnecessary functions.

2014-05-18 Thread navin patidar
Following patches remove functions which are unused or have empty definition. navin patidar (28): staging: rtl8188eu: Remove function with empty definition _InitBeaconMaxError(). staging: rtl8188eu: Remove function with empty definition _InitOperationMode() staging: rtl8188eu: Remove

staging: xgifb: A couple of minor tidyups

2014-05-18 Thread Lubomir Rintel
Hi, I've cleaned up some small issues in xgifb driver as part of a solution to an Eudyptula Challenge [1] task. The patches are chained to this message. [1] http://eudyptula-challenge.org/ Lubo ___ devel mailing list de...@linuxdriverproject.org http

[PATCH 3/5] staging: xgifb: Initialize Part0Port

2014-05-18 Thread Lubomir Rintel
It was left uninitialized, likely overseen, in this commit: 56810a92c689c6 ("staging: xgifb: use XGIRegInit() Avoid copy-paste and use XGIRegInit() to initialize registers addresses.") Signed-off-by: Lubomir Rintel --- drivers/staging/xgifb/XGI_main_26.c | 1 + 1 file changed, 1 insertion(+) di

[PATCH 1/5] staging: xgifb: Eliminate useless ifndefs

2014-05-18 Thread Lubomir Rintel
XGI_VB_CHIP_TYPE, PCI_DEVICE_ID_XGI_42 and PCI_DEVICE_ID_XGI_27 are never defined. Signed-off-by: Lubomir Rintel --- drivers/staging/xgifb/XGI_main.h | 4 drivers/staging/xgifb/vgatypes.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/stagin

[PATCH 2/5] staging: xgifb: Drop pr_fmt

2014-05-18 Thread Lubomir Rintel
It is neither used nor useful. Signed-off-by: Lubomir Rintel --- drivers/staging/xgifb/XGI_main_26.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index a62d4dd..d61e03f 100644 --- a/drivers/staging/xgifb/XGI_main_

[PATCH 5/5] staging: xgifb: Update TODO

2014-05-18 Thread Lubomir Rintel
There's no more printk abuse, it's been sorted out in 448810662ac3 ("Staging: xgifb: Remove printk usage.") Extra ifdefs have been fixed too, mostly in 800d67cf9f77 ("staging: xgifb: eliminate #ifdef Tap4"), c39aada6926c ("staging: xgifb: eliminate #ifdef XGIFB_PAN"), fa4c212f2b81 ("staging: xgifb

[PATCH 4/5] staging: xgifb: Drop some more useless defines

2014-05-18 Thread Lubomir Rintel
SetLCDStdMode is not supported as of 34c13ee2b690 ("staging: xgifb: drop code for legacy VGA modes"). DisableLCD24bpp defined to zero was never realy useful and went away with aa56b2790a8b ("staging: xgifb: vb_table: delete XGI21_LCDCapList"). Signed-off-by: Lubomir Rintel --- drivers/staging/x