[PATCH 1/2] staging: rtl8712: cleanup of timeout conversions

2015-01-31 Thread Nicholas Mc Guire
This is only an API consolidation to make things more readable. Instances of var * HZ / 1000 are replaced by msecs_to_jiffies(var). As msecs_to_jiffies will return > 0 if it is passed a value > 0 the == 0 check is not needed. Signed-off-by: Nicholas Mc Guire --- Converting milliseconds to ji

[PATCH 2/2] staging: rtl8712: condition with no effect removed

2015-01-31 Thread Nicholas Mc Guire
The check for return of schedule_timeout() has no effect on the effective control flow of sleep_schedulable() so it can be dropped. Signed-off-by: Nicholas Mc Guire --- The current codes return check for schedule_timeout() has no effect and can probably be dropped unless it is intended as a pla

[PATCH] staging: unisys: use msecs_to_jiffies for conversions

2015-01-31 Thread Nicholas Mc Guire
This is only an API consolidation to make things more readable. Instances of var * HZ / 1000 are replaced by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire --- Converting milliseconds to jiffies by "val * HZ / 1000" is technically ok but msecs_to_jiffies(val) is the cleaner solution

[PATCH] staging: rtl8188eu: use msecs_to_jiffies for conversions

2015-01-31 Thread Nicholas Mc Guire
This is only an API consolidation to make things more readable. Instances of var * HZ / 1000 are replaced by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire --- Converting milliseconds to jiffies by "val * HZ / 1000" is technically ok but msecs_to_jiffies(val) is the cleaner solution

[PATCH v3] staging: comedi: drivers: jr3_pci: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/comedi/drivers/jr3_pci.c | 16 1 file

[PATCH v3] staging: comedi: drivers: dyna_pci10xx: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/comedi/drivers/dyna_pci10xx.c |4 1 file change

Re: [PATCH] staging: comedi: drivers: addi-data: hwdrv_apci1500: Change variables that is never used

2015-01-31 Thread Rickard Strandqvist
2015-01-30 22:10 GMT+01:00 Dan Carpenter : > On Fri, Jan 30, 2015 at 12:25:53PM -0800, Greg Kroah-Hartman wrote: >> On Fri, Jan 30, 2015 at 11:18:31PM +0300, Dan Carpenter wrote: >> > Richard, asked some questions out of band. >> > Hi all! As Dan said, I email him before. But it was not really me

[PATCH] staging: rtl8188eu: hal: phy: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/hal/phy.c | 15 +-- 1 file chang

[PATCH] staging: rtl8188eu: core: rtw_sta_mgt: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/core/rtw_sta_mgt.c |3 +-- 1 file changed,

[PATCH] staging: rtl8188eu: hal: rtl8188e_cmd: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c |7 +-- 1 file chan

[PATCH] staging: rtl8192e: rtl8192e: r8192E_dev: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 13 ++--- 1 f

[PATCH] staging: rtl8192e: rtl8192e: rtl_core: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 25

[PATCH] staging: rtl8188eu: core: rtw_mlme: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/core/rtw_mlme.c |5 + 1 file changed,

[PATCH] staging: rtl8192e: rtl8192e: rtl_dm: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c |9 ++--- 1 file chan

[PATCH] staging: rtl8192e: rtl8192e: rtl_pci: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192e/rtl8192e/rtl_pci.c |2 -- 1 file changed, 2

[PATCH] staging: rtl8192e: rtl819x_BAProc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192e/rtl819x_BAProc.c |2 -- 1 file changed, 2 d

[PATCH] staging: rtl8192u: ieee80211: ieee80211_softmac_wx: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c |2 -- 1 f

[PATCH] staging: rtl8188eu: hal: rtl8188e_hal_init: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c |4 ++-- 1 file ch

[PATCH] staging: rtl8192u: ieee80211: rtl819x_BAProc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c |2 -- 1 file ch

[PATCH] staging: rtl8192u: r8192U_core: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192u/r8192U_core.c | 10 +++--- 1 file changed

[PATCH] staging: rtl8192u: r8192U_dm: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8192u/r8192U_dm.c |3 +-- 1 file changed, 1 inser

[PATCH] staging: rtl8712: rtl871x_security: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8712/rtl871x_security.c |3 --- 1 file changed, 3

[PATCH] staging: rtl8723au: core: rtw_mlme: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_mlme.c | 21 ++---

[PATCH] staging: rtl8723au: core: rtw_mlme_ext: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c |7 +-- 1 file cha

[PATCH] staging: rtl8723au: core: rtw_recv: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_recv.c | 19 +++ 1

[PATCH] staging: rtl8723au: core: rtw_security: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_security.c |3 --- 1 file changed

[PATCH] staging: rtl8723au: core: rtw_sta_mgt: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_sta_mgt.c |2 -- 1 file changed,

[PATCH] staging: rtl8723au: core: rtw_wlan_util: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/core/rtw_wlan_util.c |4 +--- 1 file chang

[PATCH] staging: rtl8723au: hal: HalDMOutSrc8723A_CE: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/hal/HalDMOutSrc8723A_CE.c |6 ++ 1 fil

[PATCH] staging: rtl8723au: hal: rtl8723a_bt-coexist: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- .../staging/rtl8723au/hal/rtl8723a_bt-coexist.c| 27 +++---

[PATCH] staging: rtl8723au: hal: rtl8723a_hal_init: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 10 ++ 1 f

[PATCH] staging: rtl8723au: hal: usb_ops_linux: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8723au/hal/usb_ops_linux.c |9 +++-- 1 file c

[PATCH] staging: slicoss: slicoss: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/slicoss/slicoss.c | 12 ++-- 1 file changed, 2

[PATCH] staging: speakup: varhandlers: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/speakup/varhandlers.c |6 ++ 1 file changed, 2 i

[PATCH] staging: vt6655: device_main: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/vt6655/device_main.c |3 +-- 1 file changed, 1 inser

[PATCH] staging: vt6655: dpc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/vt6655/dpc.c |4 +--- 1 file changed, 1 insertion(+)

[PATCH] staging: vt6656: dpc: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/vt6656/dpc.c |4 +--- 1 file changed, 1 insertion(+)

[PATCH] staging: vt6656: int: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/vt6656/int.c |3 +-- 1 file changed, 1 insertion(+),

[PATCH] staging: vt6656: rxtx: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/vt6656/rxtx.c |5 + 1 file changed, 1 insertion(

[PATCH] staging: xgifb: vb_init: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/xgifb/vb_init.c |4 +--- 1 file changed, 1 insertion

[PATCH] staging: xgifb: vb_setmode: Removed variables that is never used

2015-01-31 Thread Rickard Strandqvist
Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/xgifb/vb_setmode.c |9 +++-- 1 file changed, 3 i

Re: [PATCH] staging: rtl8188eu: hal: phy: Removed variables that is never used

2015-01-31 Thread Dan Carpenter
> I have also removed all the code that thereby serves no purpose. [ snip ] > @@ -743,7 +743,7 @@ static u8 phy_path_a_iqk(struct adapter *adapt, bool > config_pathb) > reg_eac = phy_query_bb_reg(adapt, rRx_Power_After_IQK_A_2, bMaskDWord); > reg_e94 = phy_query_bb_reg(adapt, rTx_Pow

Re: [PATCH] staging: rtl8188eu: core: rtw_mlme: Removed variables that is never used

2015-01-31 Thread Dan Carpenter
On Sat, Jan 31, 2015 at 03:44:33PM +0100, Rickard Strandqvist wrote: > Variable was assigned a value that was never used. > I have also removed all the code that thereby serves no purpose. > > This was found using a static code analysis program called cppcheck > > Signed-off-by: Rickard Strandqvi

Re: [PATCH] staging: rtl8188eu: core: rtw_sta_mgt: Removed variables that is never used

2015-01-31 Thread Dan Carpenter
On Sat, Jan 31, 2015 at 03:45:33PM +0100, Rickard Strandqvist wrote: > while (phead != plist) { > - psta = container_of(plist, struct sta_info , list); > + container_of(plist, struct sta_info, list); Argh!!! No. For this one, I didn't need an context to see that it

Re: [PATCH] Warning that occured while compiling the nvec in 3.19.0-rc5+ is fixed

2015-01-31 Thread Greg KH
On Sat, Jan 31, 2015 at 05:24:42PM +0530, varsharamt wrote: > The task was to fix a warning which was shown while compiling a driver > called NVEC. I wrote a brief description about how to enable support for > a nVidya complaint embedded controller. This makes no sense, what "task"? > Signed-off

Re: [PATCH] staging: rtl8188eu: core: rtw_sta_mgt: Removed variables that is never used

2015-01-31 Thread Larry Finger
On 01/31/2015 10:19 AM, Dan Carpenter wrote: On Sat, Jan 31, 2015 at 03:45:33PM +0100, Rickard Strandqvist wrote: while (phead != plist) { - psta = container_of(plist, struct sta_info , list); + container_of(plist, struct sta_info, list); Argh!!! No. For

[PATCH] Staging: rtl8192e: Fixed unnecessary line continuation.

2015-01-31 Thread Kolbeinn Karlsson
Fixed a coding style issue. Signed-off-by: Kolbeinn Karlsson --- drivers/staging/rtl8192e/rtllib_module.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_module.c b/drivers/staging/rtl8192e/rtllib_module.c index 91e98e8..0cf3809 100644 ---

Re: [PATCH] Warning that occured while compiling the nvec in 3.19.0-rc5+ is fixed

2015-01-31 Thread Julian Andres Klode
On 31 January 2015 at 17:29, Greg KH wrote: > On Sat, Jan 31, 2015 at 05:24:42PM +0530, varsharamt wrote: >> The task was to fix a warning which was shown while compiling a driver >> called NVEC. I wrote a brief description about how to enable support for >> a nVidya complaint embedded controller

Re: [PATCH] Warning that occured while compiling the nvec in3.19.0-rc5+ is fixed

2015-01-31 Thread Marc Dietrich
Am Samstag 31 Januar 2015, 20:11:29 schrieb Julian Andres Klode: > On 31 January 2015 at 17:29, Greg KH wrote: > > On Sat, Jan 31, 2015 at 05:24:42PM +0530, varsharamt wrote: > >> The task was to fix a warning which was shown while compiling a driver > >> called NVEC. I wrote a brief description

[PATCHv3] staging: vt6656: removed erroneous else statement

2015-01-31 Thread Derrick Greenspan
This patch fixes the checkpatch.pl warning: WARNING: else is not generally useful after a break or return 559: FILE: drivers/staging/vt6656/rxtx.c:559: return vnt_rxtx_datahead_g_fb(tx_context, &buf->data_head); } else { Signed-off-by: Derrick Greenspan --- Changes in v2: - Hopefully fixed whit

Re: [PATCH] staging: vt6655: dpc: Removed variables that is never used

2015-01-31 Thread Malcolm Priestley
On 31/01/15 15:16, Rickard Strandqvist wrote: Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/staging/vt665

[PATCH v2] staging: speakup: Fix warning of line over 80 characters.

2015-01-31 Thread Shirish Gajera
This patch fixes the checkpatch.pl warning: WARNING: line over 80 characters All line over 80 characters in driver/staging/speakup/* are fixed. Aditional changes suggest by mailing list are also fixed. Signed-off-by: Shirish Gajera --- drivers/staging/speakup/main.c | 12

Re: [PATCHv3] staging: vt6656: removed erroneous else statement

2015-01-31 Thread Malcolm Priestley
On 31/01/15 19:05, Derrick Greenspan wrote: This patch fixes the checkpatch.pl warning: WARNING: else is not generally useful after a break or return 559: FILE: drivers/staging/vt6656/rxtx.c:559: Checkpatch does not check that the if and else has different function scope. It isn't erroneous

[PATCH] Fixed spaced comma in speakup/i18n.h

2015-01-31 Thread Derrick Greenspan
Fixed the checkpatch error: ERROR: space prohibited before that ',' (ctx:WxE) 6: FILE: drivers/staging/speakup/i18n.h:6: + MSG_FIRST_INDEX , ^ Signed-off-by: Derrick Greenspan --- drivers/staging/speakup/i18n.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCHv3] staging: vt6656: removed erroneous else statement

2015-01-31 Thread Greg Kroah-Hartman
On Sat, Jan 31, 2015 at 02:05:21PM -0500, Derrick Greenspan wrote: > This patch fixes the checkpatch.pl warning: > > WARNING: else is not generally useful after a break or return > 559: FILE: drivers/staging/vt6656/rxtx.c:559: > return vnt_rxtx_datahead_g_fb(tx_context, &buf->data_head); > } else

Re: [PATCH net] hyperv: Fix the error processing in netvsc_send()

2015-01-31 Thread David Miller
From: Haiyang Zhang Date: Thu, 29 Jan 2015 12:34:49 -0800 > The existing code frees the skb in EAGAIN case, in which the skb will be > retried from upper layer and used again. > Also, the existing code doesn't free send buffer slot in error case, because > there is no completion message for unsen

RE: [PATCH 2/3] hv: vmbus_post_msg: retry the hypercall on HV_STATUS_INVALID_CONNECTION_ID

2015-01-31 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Saturday, January 31, 2015 1:29 AM > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@re

Re: [PATCH] staging: xgifb: vb_init: Removed variables that is never used

2015-01-31 Thread Greg Kroah-Hartman
On Sat, Jan 31, 2015 at 04:20:48PM +0100, Rickard Strandqvist wrote: > Variable was assigned a value that was never used. > I have also removed all the code that thereby serves no purpose. > > This was found using a static code analysis program called cppcheck > > Signed-off-by: Rickard Strandqvi

Re: [PATCH] staging: rtl8188eu: core: rtw_sta_mgt: Removed variables that is never used

2015-01-31 Thread Greg Kroah-Hartman
On Sat, Jan 31, 2015 at 11:41:04AM -0600, Larry Finger wrote: > On 01/31/2015 10:19 AM, Dan Carpenter wrote: > >On Sat, Jan 31, 2015 at 03:45:33PM +0100, Rickard Strandqvist wrote: > >>while (phead != plist) { > >>- psta = container_of(plist, struct sta_info , list); > >>+ c

Re: [PATCH] staging: rtl8188eu: core: rtw_sta_mgt: Removed variables that is never used

2015-01-31 Thread Greg Kroah-Hartman
On Sat, Jan 31, 2015 at 03:45:33PM +0100, Rickard Strandqvist wrote: > Variable was assigned a value that was never used. > I have also removed all the code that thereby serves no purpose. > > This was found using a static code analysis program called cppcheck > > Signed-off-by: Rickard Strandqvi