[PATCH 2/2] staging: rtl8192e: added parentheses in macros

2015-02-16 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: Macros with complex values should be enclosed in parentheses +#define MFIE_STRING(x) case MFIE_TYPE_ ##x: return #x Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8192e/rtllib_rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/2] staging: rtl8192e: remove unnecessary spaces

2015-02-16 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: space prohibited before that ',' (ctx:WxE) +433, 433, 477} } , Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- drivers/staging/rtl8192e/rtllib_rx.c | 4 ++-- drivers/staging/rtl8192e/rtllib_softmac.c | 2

[PATCH 1/2] staging: rtl8192e: remove unnecessary spaces

2015-02-16 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: space prohibited before that ',' (ctx:WxE) +433, 433, 477} } , Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- drivers/staging/rtl8192e/rtllib_rx.c | 4 ++-- drivers/staging

[PATCH 2/2] staging: rtl8192e: added parentheses in macros

2015-02-16 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: Macros with complex values should be enclosed in parentheses +#define MFIE_STRING(x) case MFIE_TYPE_ ##x: return #x Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8192e/rtllib_rx.c | 2 +- 1 file changed, 1 insertion

[PATCH v2 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-10 Thread Pushpendra Singh
This patch removed indentation with a tab error ERROR: code indent should use tabs where possible Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/hal/rf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/rf.c b/drivers/staging

[PATCH 6/6] staging: rtl8188eu: hal: removed unnecessary parentheses

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: Unnecessary parentheses - maybe == should be = ? Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b

[PATCH 5/6] staging: rtl8188eu: hal: removed spaces at start of line

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: please, no spaces at the start of a line Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drivers

[PATCH 4/6] staging: rtl8188eu: hal: added blank line after declarations

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: Missing a blank line after declarations Signed-off-by: Pushpendra Singh --- .../staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 1 + drivers/staging/rtl8188eu/hal/hal_intf.c | 2 ++ drivers/staging/rtl8188eu/hal/odm.c| 3

[PATCH 3/6] staging: rtl8188eu: hal: removed unnecessary braces

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/hal/bb_cfg.c| 15 +++ drivers/staging/rtl8188eu/hal/fw.c| 3 +-- drivers/staging/rtl8188eu

[PATCH 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: code indent should use tabs where possible Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/hal/rf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rf.c b/drivers/staging/rtl8188eu/hal/rf.c

[PATCH 1/6] staging: rt8188eu: hal: removed space before ','

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 4 ++-- drivers/staging/rtl8188eu/hal/odm.c | 8 drivers/staging/rtl8188eu/hal/pwrseqcmd.c

[PATCH 2/7] staging: rtl8188eu: core: removing unnecessary space

2015-02-10 Thread Pushpendra Singh
Removed unnecessary space before that ',' ERROR: space prohibited before that ',' (ctx:WxE) Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 8 +++--- drivers/staging/rtl8188eu/core/rtw_mlme.c | 18 ++-- drivers/staging/rtl8188eu/core

[PATCH 4/7] staging: rtl8188eu: core: remove unnecessary parentheses

2015-02-10 Thread Pushpendra Singh
remove checkpatch.pl warning WARNING: Unnecessary parentheses - maybe == should be = ? Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 4 ++-- drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 +- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 2

[PATCH 7/7] staging: rtl8188eu: core : remove space before tabs

2015-02-10 Thread Pushpendra Singh
remove below checkpatch.pl warning WARNING: please, no space before tabs Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/core/rtw_xmit.c b/drivers/staging

[PATCH 6/7] staging: rtl8188eu: core: removed unnecessary braces

2015-02-10 Thread Pushpendra Singh
remove checkpatch.pl warning WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/core/rtw_efuse.c| 3 +-- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 14 +- drivers/staging/rtl8188eu/core

[PATCH 1/7] staging: rtl8188eu: core: added blank line after declarations

2015-02-10 Thread Pushpendra Singh
Removed following checkpatch.pl warning from mutiple files WARNING: Missing a blank line after declarations Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/core/rtw_debug.c | 3 ++- drivers/staging/rtl8188eu/core/rtw_efuse.c | 12 drivers/staging/rtl8188eu

[PATCH 3/7] staging: rtl8188eu: core: remove spaces at start of line

2015-02-10 Thread Pushpendra Singh
remove checkpatch.pl warning WARNING: please, no spaces at the start of a line Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/core/rtw_led.c | 2 +- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 2 +- drivers/staging/rtl8188eu/core/rtw_recv.c | 6 +- drivers

[PATCH 5/7] staging: rtl8188eu: core: remove indentation warning

2015-02-10 Thread Pushpendra Singh
remove checckpatch.pl warning WARNINGROR: switch and case should be at the same indent Signed-off-by: Pushpendra Singh --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 32 +-- 1 files changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/staging/rtl8188eu

[PATCH 2/7] staging: rtl8188eu: core: removing unnecessary space

2015-02-10 Thread Pushpendra Singh
Removed unnecessary space before that ',' ERROR: space prohibited before that ',' (ctx:WxE) Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 8 +++--- drivers/staging/rtl8188eu/core/rtw_mlme.c | 18 ++-- drivers

[PATCH 4/7] staging: rtl8188eu: core: remove unnecessary parentheses

2015-02-10 Thread Pushpendra Singh
remove checkpatch.pl warning WARNING: Unnecessary parentheses - maybe == should be = ? Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 4 ++-- drivers/staging/rtl8188eu/core/rtw_mlme.c | 2 +- drivers/staging/rtl8188eu

[PATCH 7/7] staging: rtl8188eu: core : remove space before tabs

2015-02-10 Thread Pushpendra Singh
remove below checkpatch.pl warning WARNING: please, no space before tabs Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/core

[PATCH 6/7] staging: rtl8188eu: core: removed unnecessary braces

2015-02-10 Thread Pushpendra Singh
remove checkpatch.pl warning WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/core/rtw_efuse.c| 3 +-- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 14 +- drivers

[PATCH 1/7] staging: rtl8188eu: core: added blank line after declarations

2015-02-10 Thread Pushpendra Singh
Removed following checkpatch.pl warning from mutiple files WARNING: Missing a blank line after declarations Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/core/rtw_debug.c | 3 ++- drivers/staging/rtl8188eu/core/rtw_efuse.c | 12

[PATCH 3/7] staging: rtl8188eu: core: remove spaces at start of line

2015-02-10 Thread Pushpendra Singh
remove checkpatch.pl warning WARNING: please, no spaces at the start of a line Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/core/rtw_led.c | 2 +- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 2 +- drivers/staging/rtl8188eu/core

[PATCH 5/7] staging: rtl8188eu: core: remove indentation warning

2015-02-10 Thread Pushpendra Singh
remove checckpatch.pl warning WARNINGROR: switch and case should be at the same indent Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 32 +-- 1 files changed, 17 insertions(+), 17 deletions(-) diff

[PATCH v2 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-10 Thread Pushpendra Singh
This patch removed indentation with a tab error ERROR: code indent should use tabs where possible Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/hal/rf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging

[PATCH 5/6] staging: rtl8188eu: hal: removed spaces at start of line

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: please, no spaces at the start of a line Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/hal

[PATCH 4/6] staging: rtl8188eu: hal: added blank line after declarations

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: Missing a blank line after declarations Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- .../staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 1 + drivers/staging/rtl8188eu/hal/hal_intf.c | 2 ++ drivers/staging

[PATCH 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: code indent should use tabs where possible Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/hal/rf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/hal/rf.c b

[PATCH 3/6] staging: rtl8188eu: hal: removed unnecessary braces

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/hal/bb_cfg.c| 15 +++ drivers/staging/rtl8188eu/hal/fw.c| 3

[PATCH 1/6] staging: rt8188eu: hal: removed space before ','

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: space prohibited before that ',' (ctx:WxW) Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 4 ++-- drivers/staging/rtl8188eu/hal/odm.c | 8 drivers/staging

[PATCH 6/6] staging: rtl8188eu: hal: removed unnecessary parentheses

2015-02-10 Thread Pushpendra Singh
Removed checkpatch.pl below warning WARNING: Unnecessary parentheses - maybe == should be = ? Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging

[PATCH v2 4/7] staging: ft1000: ft1000-usb: remove unnecessary parentheses

2015-02-08 Thread Pushpendra Singh
Remove checkpatch.pl warning WARNING: Unnecessary parentheses - maybe == should be = ? + if ((dev->app_info[i].fileobject == NULL)) Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH v2 3/7] staging: ft1000: ft1000-pcmcia: remove unnecessary parentheses

2015-02-08 Thread Pushpendra Singh
Remove checkpatch.pl warning WARNING: Unnecessary parentheses + if ((tempword != *ppseudohdr)) { Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ft1000/ft1000

[PATCH v2 6/7] staging: ft1000: ft1000-usb: remove conditional statement

2015-02-08 Thread Pushpendra Singh
their is no statements for if condition, but else have so instead of using else condition ,use a single condition statement if(!qtype) Signed-off-by: Puhspendra Singh --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH v2 7/7] staging: ft1000: ft1000-usb: remove unnecessary out of memory warning

2015-02-08 Thread Pushpendra Singh
Remove checkpatch.pl warning WARNING: Possible unnecessary 'out of memory' message + if (skb == NULL) { + pr_debug("No Network buffers available\n"); Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-usb/ft1000_hw.c | 1 - 1 file changed, 1 deletio

[PATCH v2 5/7] staging: ft1000: ft1000-usb: removed unnecessary braces

2015-02-08 Thread Pushpendra Singh
Removed Checkpatch.pl warning WARNING: braces {} are not necessary for single statement blocks + if (dev->app_info[i].fileobject == NULL) { + break; + } Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c

[PATCH v2 1/7] staging: ft1000: ft1000-pcmcia: removed unnecessary braces

2015-02-08 Thread Pushpendra Singh
Remove checkpatch.pl warning WARNING: braces {} are not necessary for any arm of this statement + if (tempword & 0x1f) { [...] + } else { [...] Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c

[PATCH v2 2/7] staging: ft1000: ft1000-pcmcia: add blank line after declarations

2015-02-08 Thread Pushpendra Singh
Removed Checkpatch.pl warning WARNING: Missing a blank line after declarations + struct ft1000_info *ft_info; + ft_info = netdev_priv(dev); Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v2 4/7] staging: ft1000: ft1000-usb: remove unnecessary parentheses

2015-02-08 Thread Pushpendra Singh
Remove checkpatch.pl warning WARNING: Unnecessary parentheses - maybe == should be = ? + if ((dev-app_info[i].fileobject == NULL)) Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 2 +- 1 file changed, 1

[PATCH v2 7/7] staging: ft1000: ft1000-usb: remove unnecessary out of memory warning

2015-02-08 Thread Pushpendra Singh
Remove checkpatch.pl warning WARNING: Possible unnecessary 'out of memory' message + if (skb == NULL) { + pr_debug(No Network buffers available\n); Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000/ft1000-usb/ft1000_hw.c | 1 - 1 file

[PATCH v2 5/7] staging: ft1000: ft1000-usb: removed unnecessary braces

2015-02-08 Thread Pushpendra Singh
Removed Checkpatch.pl warning WARNING: braces {} are not necessary for single statement blocks + if (dev-app_info[i].fileobject == NULL) { + break; + } Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000

[PATCH v2 3/7] staging: ft1000: ft1000-pcmcia: remove unnecessary parentheses

2015-02-08 Thread Pushpendra Singh
Remove checkpatch.pl warning WARNING: Unnecessary parentheses + if ((tempword != *ppseudohdr)) { Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 1/7] staging: ft1000: ft1000-pcmcia: removed unnecessary braces

2015-02-08 Thread Pushpendra Singh
Remove checkpatch.pl warning WARNING: braces {} are not necessary for any arm of this statement + if (tempword 0x1f) { [...] + } else { [...] Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000

[PATCH v2 2/7] staging: ft1000: ft1000-pcmcia: add blank line after declarations

2015-02-08 Thread Pushpendra Singh
Removed Checkpatch.pl warning WARNING: Missing a blank line after declarations + struct ft1000_info *ft_info; + ft_info = netdev_priv(dev); Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 2 +- 1 file changed, 1

[PATCH v2 6/7] staging: ft1000: ft1000-usb: remove conditional statement

2015-02-08 Thread Pushpendra Singh
their is no statements for if condition, but else have so instead of using else condition ,use a single condition statement if(!qtype) Signed-off-by: Puhspendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH 8/8] staging: ft1000: ft1000-usb: remove unnecessary out of memory warning

2015-02-06 Thread Pushpendra Singh
WARNING: Possible unnecessary 'out of memory' message + if (skb == NULL) { + pr_debug("No Network buffers available\n"); Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-usb/ft1000_hw.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drive

[PATCH 4/8] staging: ft1000: ft1000-pcmcia: add blank line after declarations

2015-02-06 Thread Pushpendra Singh
Removed Checkpatch.pl warning WARNING: Missing a blank line after declarations + struct ft1000_info *ft_info; + ft_info = netdev_priv(dev); Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 6/8] staging: ft1000: ft1000-usb: remove unnecessary parentheses

2015-02-06 Thread Pushpendra Singh
Remove checkpatch.pl warning WARNING: Unnecessary parentheses - maybe == should be = ? + if ((dev->app_info[i].fileobject == NULL)) Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 7/8] staging: ft1000: ft1000-usb: remove conditional statement

2015-02-06 Thread Pushpendra Singh
their is no statements for if condition, but else have so instead of using else condition ,use a single condition statement if(!qtype) Signed-off-by: Puhspendra Singh --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 3/8] staging: ft1000: ft1000-pcmcia: remove unnecessary out of memory warning

2015-02-06 Thread Pushpendra Singh
WARNING: Possible unnecessary 'out of memory' message + if (skb == NULL) { + pr_debug("No Network buffers available\n"); Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drive

[PATCH 5/8] staging: ft1000: ft1000-usb: removed unnecessary braces

2015-02-06 Thread Pushpendra Singh
Removed Checkpatch.pl warning WARNING: braces {} are not necessary for single statement blocks + if ((dev->app_info[i].fileobject == NULL)) { + break; + } Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c

[PATCH 1/8] staging: ft1000: ft1000-pcmcia: removed unnecessary braces

2015-02-06 Thread Pushpendra Singh
Removed checkpatch.pl warnings WARNING: braces {} are not necessary for single statement blocks + if (tempword == 0xfefe) { + break; + } Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c

[PATCH 2/8] staging: ft1000: ft1000-pcmcia: remove unnecessary parentheses

2015-02-06 Thread Pushpendra Singh
WARNING: Unnecessary parentheses + if ((tempword != *ppseudohdr)) { Signed-off-by: Pushpendra Singh --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers

[PATCH 2/8] staging: ft1000: ft1000-pcmcia: remove unnecessary parentheses

2015-02-06 Thread Pushpendra Singh
WARNING: Unnecessary parentheses + if ((tempword != *ppseudohdr)) { Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ft1000

[PATCH 1/8] staging: ft1000: ft1000-pcmcia: removed unnecessary braces

2015-02-06 Thread Pushpendra Singh
Removed checkpatch.pl warnings WARNING: braces {} are not necessary for single statement blocks + if (tempword == 0xfefe) { + break; + } Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging

[PATCH 3/8] staging: ft1000: ft1000-pcmcia: remove unnecessary out of memory warning

2015-02-06 Thread Pushpendra Singh
WARNING: Possible unnecessary 'out of memory' message + if (skb == NULL) { + pr_debug(No Network buffers available\n); Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 1 - 1 file changed, 1 deletion

[PATCH 5/8] staging: ft1000: ft1000-usb: removed unnecessary braces

2015-02-06 Thread Pushpendra Singh
Removed Checkpatch.pl warning WARNING: braces {} are not necessary for single statement blocks + if ((dev-app_info[i].fileobject == NULL)) { + break; + } Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000

[PATCH 8/8] staging: ft1000: ft1000-usb: remove unnecessary out of memory warning

2015-02-06 Thread Pushpendra Singh
WARNING: Possible unnecessary 'out of memory' message + if (skb == NULL) { + pr_debug(No Network buffers available\n); Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000/ft1000-usb/ft1000_hw.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH 4/8] staging: ft1000: ft1000-pcmcia: add blank line after declarations

2015-02-06 Thread Pushpendra Singh
Removed Checkpatch.pl warning WARNING: Missing a blank line after declarations + struct ft1000_info *ft_info; + ft_info = netdev_priv(dev); Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 2 +- 1 file changed, 1

[PATCH 6/8] staging: ft1000: ft1000-usb: remove unnecessary parentheses

2015-02-06 Thread Pushpendra Singh
Remove checkpatch.pl warning WARNING: Unnecessary parentheses - maybe == should be = ? + if ((dev-app_info[i].fileobject == NULL)) Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 2 +- 1 file changed, 1

[PATCH 7/8] staging: ft1000: ft1000-usb: remove conditional statement

2015-02-06 Thread Pushpendra Singh
their is no statements for if condition, but else have so instead of using else condition ,use a single condition statement if(!qtype) Signed-off-by: Puhspendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH] stagging: media: tlg2300: Fixes Checkpatch error

2015-02-02 Thread Pushpendra Singh
Error: Missing a blank line after declarations Singed-off-by: pushpendra.si...@smartplayin.com to: pramod.gu...@smartplayin.com cc: kiran.pad...@smartplayin.com cc: chowdegowda...@smartplayin.com --- drivers/staging/media/tlg2300/pd-alsa.c | 2 ++ 1 file changed,

[PATCH] stagging: media: tlg2300: Fixes Checkpatch error

2015-02-02 Thread Pushpendra Singh
Error: Missing a blank line after declarations Singed-off-by: pushpendra.si...@smartplayin.com to: pramod.gu...@smartplayin.com cc: kiran.pad...@smartplayin.com cc: chowdegowda...@smartplayin.com --- drivers/staging/media/tlg2300/pd-alsa.c | 2 ++ 1 file changed,