- 18 6月, 2015 36 次提交
-
-
由 Mateusz Kulikowski 提交于
This function was declared but never unused. Also remove dequeue_mgmt() and rtllib_resume_tx() that are no longer used. Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mateusz Kulikowski 提交于
This function was declared but never unused. Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mateusz Kulikowski 提交于
ENABLE_LOCK_DEBUG macro was never set, so condition that used it can be resolved manually. Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mateusz Kulikowski 提交于
Field was initialized and never used. This patch also removes chnl_op enum that was only referenced by ChnkOp init code. Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mateusz Kulikowski 提交于
Delete macros, structure members and declarations etc. that are not referenced anywhere in code. Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Mateusz Kulikowski 提交于
Delete unused enums, structures and macros. Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Gaston Gonzalez 提交于
Added le16_to_cpu() conversion fixing the following warning in assignment detected by sparse: drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2157:30: warning: invalid assignment: += drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2157:30: left side has type unsigned long drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:2157:30: right side has type restricted __le16 Signed-off-by: NGaston Gonzalez <gascoar@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Prasanna Karthik 提交于
Modified return statement and removed local declaration no longer needed. No Compiler warnings. Signed-off-by: NPrasanna Karthik <mkarthi3@visteon.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Maxime Lorrillere 提交于
This patch fixes lines starting with spaces. Signed-off-by: NMaxime Lorrillere <maxime.lorrillere@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Abdul Hussain 提交于
This patch uses memdup_user rather than duplicating its implementation Signed-off-by: NAbdul Hussain <habdul@visteon.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Abdul Hussain 提交于
This patch uses memdup_user rather than duplicating its implementation Signed-off-by: NAbdul Hussain <habdul@visteon.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
This patch renames the very generic variable name 'todo' to nsamples. Signed-off-by: NHari Prasath Gujulan Elango <hgujulan@visteon.com> Reviewed-by: NIan Abbott <abbotti@mev.co.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
This patch silences the Checkpatch.pl warning 'Prefer using the BIT macro' Signed-off-by: NHari Prasath Gujulan Elango <hgujulan@visteon.com> Reviewed-by: NIan Abbott <abbotti@mev.co.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Peng Fan 提交于
Sparse checking warning: "drivers/staging/nvec/nvec_ps2.c:172:14: warning: duplicate const". Remove the duplicated const to fix the warning. Signed-off-by: NPeng Fan <van.freenix@gmail.com> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
This patch removes a couple of ununsed MACRO's in this header file Signed-off-by: NHari Prasath Gujulan Elango <hgujulan@visteon.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Malcolm Priestley 提交于
Remove vt6655_init_module and vt6655_cleanup_module and replace module_pci_driver Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Malcolm Priestley 提交于
The only thing this does is vt6655_suspend which is already been called upon suspend. Remove function device_notify_reboot and structure device_notifier. Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Abdul Hussain 提交于
This patch remove true and false from boolean tests. Signed-off-by: NAbdul Hussain <habdul@visteon.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Prasanna Karthik 提交于
Modified return statement and removed local declaration no longer needed. No Compiler warnings. Signed-off-by: NPrasanna Karthik <mkarthi3@visteon.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Daniele Alessandrelli 提交于
This patch makes fields in struct rt_8723a_firmware_hdr use endianness-aware types (__leXX), thus fixing the following sparse warnings: CHECK drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:263:37: warning: cast to restricted __le16 drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:265:39: warning: cast to restricted __le16 drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:277:13: warning: cast to restricted __le16 drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:277:13: warning: cast to restricted __le16 drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c:277:13: warning: cast to restricted __le16 Signed-off-by: NDaniele Alessandrelli <daniele.alessandrelli@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Daniele Alessandrelli 提交于
The size of field Rsvd1 in struct rt_8723a_firmware_hdr should be u8 otherwise we exceeds the boundaries of "LONG WORD 0". This patch fixes the issue. Signed-off-by: NDaniele Alessandrelli <daniele.alessandrelli@gmail.com> Acked-by: NJes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Andreas Ruprecht 提交于
In rtw_mlme_ext.c, nested #ifdef blocks form the following structure inside the file: #ifdef CONFIG_8723AU_AP_MODE (line 1323) [...] #ifdef CONFIG_8723AU_AP_MODE (line 1720) [...] #endif (2 more ifdef blocks with CONFIG_8723AU_AP_MODE follow) [...] #endif /* CONFIG_8723AU_AP_MODE */ (line 1763) The inner #ifdefs are unnecessary as they depend on the same condition as the outer #ifdef and can thus be removed. Signed-off-by: NAndreas Ruprecht <andreas.ruprecht@fau.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Fabio Falzoi 提交于
Use a helper function to manage delink states Signed-off-by: NFabio Falzoi <fabio.falzoi84@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Fabio Falzoi 提交于
Use a helper function to manage lun modes when SUPPORT_OCP is defined Signed-off-by: NFabio Falzoi <fabio.falzoi84@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Fabio Falzoi 提交于
Use a helper function to manage idle state Signed-off-by: NFabio Falzoi <fabio.falzoi84@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Fabio Falzoi 提交于
Use a helper function to manage aspm mode Signed-off-by: NFabio Falzoi <fabio.falzoi84@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Fabio Falzoi 提交于
Use a helper function to manage ss_counter Signed-off-by: NFabio Falzoi <fabio.falzoi84@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Fabio Falzoi 提交于
Use a helper function to check if power off is needed. Signed-off-by: NFabio Falzoi <fabio.falzoi84@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Fabio Falzoi 提交于
Use a helper function to manage SD erase status when SUPPORT_SD_LOCK is defined Signed-off-by: NFabio Falzoi <fabio.falzoi84@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sunghoon Cho 提交于
This adds a blank line after struct declaration, WILC_WFI_mon_priv. Signed-off-by: NSunghoon Cho <ywhsbliss@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sunghoon Cho 提交于
This patch removes blank line which is not necesssary after an open brace. Signed-off-by: NSunghoon Cho <ywhsbliss@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Sunghoon Cho 提交于
This patch removes the warnings reported by checkpatch.pl regarding on the multiple blank line uses. Signed-off-by: NSunghoon Cho <ywhsbliss@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Abdul Hussain 提交于
This patch removes casting the values returned by memory allocation functions. Signed-off-by: NAbdul Hussain <habdul@visteon.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Peter Karlsson 提交于
Fix checkpatch error about initialize globals to 0. Signed-off-by: NPeter Karlsson <peter.p.karlsson@svt.se> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Peter Karlsson 提交于
Fix checkpatch warning about unnecessary parenthes. Signed-off-by: NPeter Karlsson <peter.p.karlsson@svt.se> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Michał Kępień 提交于
Fix checkpatch.pl warnings about lines longer than 80 characters. Signed-off-by: NMichał Kępień <kernel@kempniu.pl> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 17 6月, 2015 4 次提交
-
-
This patch removes SIOCDEVPRIVATE + 1 ioctl. It currently is just a stub which does some useless printks and returns. In the original code, if the user passes priv_cmd.total_len == 0 then it will Oops. Also it leaks memory every time it's called. In the future, we will implement this functionality using generic API functions Signed-off-by: NHari Prasath Gujulan Elango <hgujulan@visteon.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Abdul Hussain 提交于
This patch removes unwanted true and false from boolean tests. Signed-off-by: NAbdul Hussain <habdul@visteon.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Abdul Hussain 提交于
This patch assign proper boolean value to boolean variable. Signed-off-by: NAbdul Hussain <habdul@visteon.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-
由 Chaehyun Lim 提交于
Align some defines in linux_wlan_common.h Signed-off-by: NChaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
-