Behan Webster
62ec95f86d
staging, rtl8192e, LLVMLinux: Remove unused inline prototype
...
rtllib_probe_req is defined as "static inline" in rtllib_softmac.c however it
is declared differently as "extern inline" in rtllib_softmac.h. Since it isn't
used outside of the scope of rtllib_softmac, it makes sense to remove the
incorrect declaration.
Signed-off-by: Behan Webster <behanw@converseincode.com >
Suggested-by: Arnd Bergmann <arnd@arndb.de >
Cc: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:33:05 -07:00
Behan Webster
6d91857d48
staging, rtl8192e, LLVMLinux: Change extern inline to static inline
...
With compilers which follow the C99 standard (like modern versions of gcc and
clang), "extern inline" does the opposite thing from older versions of gcc
(emits code for an externally linkable version of the inline function).
"static inline" does the intended behavior in all cases instead.
Signed-off-by: Behan Webster <behanw@converseincode.com >
Suggested-by: Arnd Bergmann <arnd@arndb.de >
Cc: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:33:05 -07:00
Behan Webster
33de8f24a7
staging, rts5208, LLVMLinux: Change extern inline to static inline
...
With compilers which follow the C99 standard (like modern versions of gcc and
clang), "extern inline" does the opposite thing from older versions of gcc
(emits code for an externally linkable version of the inline function). "static
inline" does the intended behavior in both gcc and clang.
Signed-off-by: Behan Webster <behanw@converseincode.com >
Suggested-by: Arnd Bergmann <arnd@arndb.de >
Cc: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:28:17 -07:00
Mariusz Gorski
6c3773defb
staging: panel: Use designated initializers
...
Fix "warning: missing initializer [-Wmissing-field-initializers]"
by using designated struct initializers.
Signed-off-by: Mariusz Gorski <marius.gorski@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:28:17 -07:00
Anton Saraev
553d8ae805
staging:lustre:lnet:selftest: remove unused function
...
Function lnet_selftest_structure_assertion is never used and can
be removed.
Signed-off-by: Anton Saraev <antonysaraev@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:27:48 -07:00
Anton Saraev
8d94b6d224
staging:lustre:lnet:selftest: fix sparse warnings
...
Fix sparse warnings: symbol X was not declared. Should it be static?
Some functions used only in files where they are declared. They can
be static.
Signed-off-by: Anton Saraev <antonysaraev@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:25:06 -07:00
Mikael Svantesson
2d37545751
staging: skein: skein_api.c: removed space before ','
...
Signed-off-by: Mikael Svantesson <mikael@distopic.net >
Acked-by: Jason Cooper <jason@lakedaemon.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:20:56 -07:00
Gulsah Kose
0d20dac377
staging: rtl8188eu: core: Removed unnecessary parenthesis.
...
This patch removes unnecessarry parenthesis in rtw_security.c by
using this coccinelle script:
@r1@
expression e1,e2;
@@
if
- ((e1 == e2))
+ (e1 == e2)
{...}
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com >
Acked-by: Julia Lawall <julia.lawall@lip6.fr >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:20:56 -07:00
anuvazhayil
a58af1e1ce
Staging: rtl8723au: rtw_cmd: Replace foo*bar to foo *bar
...
Fixed the checkpatch.pl ERROR: "foo*bar" should be "foo *bar"
Signed-off-by: anuvazhayil <anuv.1994@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:20:55 -07:00
Vaishali Thakkar
b32af401fc
Staging: rtl8192e: Change variable type from u16 to __le16
...
This patch changes declaration of variable tmp from u16 to
__le16 in order to remove following sparse warning at number
of places:
warning: incorrect type in assignment (different base types)
expected unsigned short [unsigned] [usertype] tmp
got restricted __le16 [usertype] <noident>
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:05:16 -07:00
Vaishali Thakkar
c65a5a562e
Staging: rtl8192e: Revert one previous commit
...
This patch reverts commit 450246465a ("Staging: rtl8192e:
Fix incorrect type in assignment in rtl819x_BAProc.c") as it is
changing code and introducing bug to skip the endian conversion.
Here, tmp variable is used to hold the endian-corrected values
and network-data requires fixed endianness.
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:05:16 -07:00
Brian Vandre
92be2d4d3c
Staging: xgifb: fix space before comma
...
This fixes the checkpatch.pl error:
ERROR: space prohibited before that ','
Signed-off-by: Brian Vandre <bvandre@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 16:05:16 -07:00
Malcolm Priestley
0fbdd5ca6f
staging: vt6655: dead code remove header type.h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:47 -07:00
Malcolm Priestley
33785983ca
staging: vt6655: dead code remove wmgr.h
...
on removal needs to be replaced by card.h in device.h
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:47 -07:00
Malcolm Priestley
c3fb46429b
staging: vt6655: move MAKE_BEACON_RESERVED to device.h
...
Used only in function device_intr in device_main.c move macro.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:47 -07:00
Malcolm Priestley
1903e6dd05
staging: vt6655: Move LIFETIME RES 64us macros to rxtx.h
...
Used only by vnt_generate_fifo_header move these macros.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:47 -07:00
Malcolm Priestley
e11cdc39f3
staging: vt6655: remove typedef void *TimerFunction
...
Covert functions TimerSQ3CallBack and TimerState1CallBack to
the correct type for struct timer_list.function to remove
the cast altogether.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:47 -07:00
Malcolm Priestley
dd46cf735d
staging: vt6655: dead code remove 80211hdr.h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:47 -07:00
Malcolm Priestley
9c644a05c6
staging: vt6655: device.h remove dead strutures and macros
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:46 -07:00
Malcolm Priestley
146761058f
staging: vt6655: struct vnt_private remove dead members
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:46 -07:00
Malcolm Priestley
4cf8e50303
staging: vt6655: dead code remove country.h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:46 -07:00
Malcolm Priestley
651a39cad5
staging: vt6655: dead code remove iocmd.h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:46 -07:00
Malcolm Priestley
47a2a3cb75
staging: vt6655: dead code remove iowpa.h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:46 -07:00
Malcolm Priestley
8224e771ca
staging: vt6655: dead code remove 80211mgr.h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:46 -07:00
Malcolm Priestley
d54435d3fb
staging: vt6655: dead code remove tether.h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:46 -07:00
Malcolm Priestley
d853ce2291
staging: vt6655: dead code remove bssdb.h header
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:45 -07:00
Malcolm Priestley
37cc22b1c4
staging: vt6655: dead remove wcmd.h and typedefs
...
CMD_STATE
CMD_CODE
CMD_ITEM
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:45 -07:00
Malcolm Priestley
38ad4a00eb
staging: vt6655: dead code remove ndis and pmkid strutures.
...
struct pmkid_candidate
typedef struct _BSSID_INFO
typedef struct tagSPMKID
typedef struct tagSPMKIDCandidateEvent
NDIS_802_11_MAC_ADDRESS
typedef struct _NDIS_802_11_AI_REQFI
typedef struct _NDIS_802_11_AI_RESFI
typedef struct _NDIS_802_11_ASSOCIATION_INFORMATION
typedef struct tagSAssocInfo
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:45 -07:00
Malcolm Priestley
ab2eb50af8
staging: vt6655: wmgr.h remove management structures
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:45 -07:00
Malcolm Priestley
8ec94797eb
staging: vt6655: dead code remove vntwifi.h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:45 -07:00
Malcolm Priestley
b0437f281d
staging: vt6655: move all RATE_* macros to device.h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:45 -07:00
Malcolm Priestley
d40c444668
staging: vt6655: channel.c remove dead functions
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:45 -07:00
Malcolm Priestley
b4ba0cb10f
staging: vt6655: dead code remove wctl.c/h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:45 -07:00
Malcolm Priestley
7910356c7f
staging: vt6655: dead code remove 80211mgr.c and functions
...
80211mgr.h header will be removed later
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:45 -07:00
Malcolm Priestley
5e6fc9d7e4
staging: vt6655: dead code remove tcrc.c/h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:45 -07:00
Malcolm Priestley
029c7d225a
staging: vt6655L remove tether.c functions
...
remove
ETHbyGetHashIndexByCrc32
ETHbIsBufferCrc32Ok
tether.h header will be removed later
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:44 -07:00
Malcolm Priestley
1243317b46
staging: vt6655: mib remove unused functions and structure members
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:44 -07:00
Malcolm Priestley
77bb9975d4
staging: vt6655: key.c remove dead functions
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:44 -07:00
Malcolm Priestley
610cc9d98b
staging: vt6655: dead code remove vntwifi.c functions
...
Header will be removed later
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:44 -07:00
Malcolm Priestley
e813580c36
staging: vt6655: dead code remove michael.c/h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:43 -07:00
Malcolm Priestley
7c23c2d25d
staging: vt6655: deadcode remove aes_ccmp/rc4/tkip
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:43 -07:00
Malcolm Priestley
6bedc35b75
staging: vt6655: dead code remove wpa/wpa2
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:43 -07:00
Malcolm Priestley
c49802bfb6
staging: vt6655: deadcode remove wroute.c/h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:42 -07:00
Malcolm Priestley
dd1c689cec
staging: vt6655: card.c/h remove dead functions
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:34:37 -07:00
Malcolm Priestley
86b5afa757
staging: vt6655: dead code remove IEEE11.h.c/h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:33:35 -07:00
Malcolm Priestley
f3de0df9b0
staging: vt6655: dead code datarate.c/h
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:33:35 -07:00
Malcolm Priestley
7d48710aec
staging: vt6655: dead code remove bssdb.c
...
header will be removed later
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:33:35 -07:00
Malcolm Priestley
1a48e8c412
staging: vt6655: s_cbFillTxBufHead remove unused parameters
...
Remove the following parameters
PSEthernetHeader psEthHeader
PSKeyItem pTransmitKey
bool bNeedEncrypt
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:33:35 -07:00
Malcolm Priestley
d829163fa9
staging: vt6655: rxtx remove dead functions
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:33:35 -07:00
Malcolm Priestley
8d0126b1f0
staging: vt6655: dead code remove wcmd.c
...
header will be removed later.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-10-29 13:33:35 -07:00