Malcolm Priestley
170ce6d2c5
staging: vt6656: baseband.c rename abyVT3184_AGC to vnt_vt3184_agc
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:29:38 -07:00
Malcolm Priestley
4fd6e9f286
staging: vt6656: baseband clean up VT3184 static variables
...
Remove white space comments and arrange 8 bytes wide
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:29:38 -07:00
Malcolm Priestley
ef13cfb4dc
staging: vt6656: rf.c cleanup comments
...
named comments are already referenced in revision history
in high-level comment.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:28:28 -07:00
Malcolm Priestley
f1c840d55b
staging: vt6656: vnt_rf_write_embedded add reg length and IFREGCTL_REGW
...
The rf register always have *_REG_LEN and IFREGCTL_REGW macros added.
*_REG_LEN is always 23(0x17) replace them with VNT_RF_REG_LEN.
Remove *_REG_LEN and IFREGCTL_REGW from tables and vnt_rf_set_txpower and
apply VNT_RF_REG_LEN and IFREGCTL_REGW in vnt_rf_write_embedded
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:28:27 -07:00
Malcolm Priestley
0e2b6fe1f4
staging: vt6656: rf.c remove dead code RFaby11aChannelIndex
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:28:27 -07:00
Malcolm Priestley
77bdc0a5c6
staging: vt6656: rf.c clean up channel and power tables
...
Remove comments to channel number execpt where there is a
change to 5gHz channel 15
named comments are already referenced in revision history
in high-level comment.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:28:27 -07:00
Matthias Beyer
2349c05a61
Staging: bcm: Transmit.c: Removed obvious comment
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:21:45 -07:00
Matthias Beyer
358ed017c7
Staging: bcm: Transmit.c: Line length / Whitespace cleanup
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:21:45 -07:00
Matthias Beyer
c971681aea
Staging: bcm: Transmit.c: Replaced member accessing with variable
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:21:45 -07:00
Malcolm Priestley
f7f0485757
staging: vt6656: wcmd replace debug message with dev_dbg
...
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
4e3af0fa67
staging: vt6656: vResetCommandTimer remove camel case
...
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
f7e9ed41c9
staging: vt6656: bScheduleCommand remove camel case
...
Camel case changes
pDevice -> priv
eCommand -> command
pbyItem0 -> item0
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
d287093e4c
staging: vt6656: s_bCommandComplete clean up and remove camel case
...
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
a675dc2136
staging: vt6656: s_bCommandComplete remove else from if
...
if returns out so remove else
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
18647c5877
staging: vt6656: remove unused variables from struct tagCMD_ITEM
...
Also remove local variables
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
cf07bb8e84
staging: vt6656: vRunCommand remove camel case.
...
pDevice -> priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
43878a363b
staging: vt6656: wcmd remove unused commands
...
WLAN_CMD_CHANGE_BBSENSITIVITY and WLAN_CMD_MAC_DISPOWERSAVING
are already implemented and don't need the command timer.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
c06b1ad093
staging: vt6656: wcmd Remove command WLAN_CMD_RADIO
...
Part of it has already been removed. checking isr1 & ISR_GPIO3
serves no purpose.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Malcolm Priestley
e30546d6aa
staging: vt6656: vCommandTimerWait remove camel case.
...
camel case changes
pDevice -> priv
MSecond -> msecs
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 13:20:14 -07:00
Greg Kroah-Hartman
913827ee9a
staging: lustre: fid: fid_request.c: checkpatch cleanup: align arguments to parenthesis
...
whitespace changes only - git diff -w shows no difference
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 01:09:15 -07:00
Greg Kroah-Hartman
699503bcab
staging: lustre: remove cfs_time_before()
...
Just call time_before() instead.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 01:03:41 -07:00
Greg Kroah-Hartman
88c03eae2d
staging: lustre: cfs_time_sub() must return unsigned long
...
It looks like someone ment for it to return this value (there's a cast),
but the funtion says 'long' which causes problems when comparing values
from this function.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:54:26 -07:00
Greg Kroah-Hartman
b2d201bd16
staging: lustre: remove cfs_duration_t typedef
...
Just use 'long' as that is what it was defined as.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:45:51 -07:00
Greg Kroah-Hartman
7264b8a5db
staging: lustre: remove cfs_time_current_sec wrapper
...
Just call get_seconds() directly.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:38:48 -07:00
Greg Kroah-Hartman
82173c6292
staging: lustre: remove cfs_time_beforeq wrapper
...
Use time_before_eq() call instead.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:31:18 -07:00
Greg Kroah-Hartman
a649ad1d7b
staging: lustre: remove cfs_time_t typedef
...
Just use unsigned long everywhere, like the rest of the kernel does.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:27:46 -07:00
Greg Kroah-Hartman
8718c63e5f
staging: lustre: remove unused functions from linux-time.h
...
No one was using them, so delete them.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:10:33 -07:00
Greg Kroah-Hartman
61b3508ae3
staging: lustre: remove cfs_fs_time_t
...
Use 'struct timespec' like the rest of the kernel does
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:04:53 -07:00
Greg Kroah-Hartman
fb4a153994
staging: lustre: remove linux-tcpip.h
...
There were just a few macros being used, remove them and have the places
where they were being used to make the proper kernel api call instead.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-12 00:01:03 -07:00
Greg Kroah-Hartman
e12517f34b
staging: lustre: linux-tcpip.h: remove unused macros
...
Some macros are never used, so remove them.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:52:29 -07:00
Greg Kroah-Hartman
490e7dd4f9
staging: lustre: fix makefile build breakage
...
Forgot to test with infiniband enabled.
Reported-by: kbuild test robot <fengguang.wu@intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:49:54 -07:00
Greg Kroah-Hartman
e327dc882d
staging: lustre: remove socket_t typedef
...
Use 'struct socket' like the rest of the kernel does.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org
2014-07-11 23:42:52 -07:00
Greg Kroah-Hartman
691bc0eb29
staging: lustre: remove ctl_table typedefs
...
No need for these, just use the "real" struct the kernel provides.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:38:41 -07:00
Greg Kroah-Hartman
9fc48d006f
staging: lustre: remove linux-types.h
...
It's an empty file, so remove it.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:32:19 -07:00
Greg Kroah-Hartman
86e5b63d67
staging: lustre: fix build breakage on microblaze
...
I missed an include path that microblaze found in it's build paths.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Reported-by: kbuild test robot <fengguang.wu@intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:29:34 -07:00
Greg Kroah-Hartman
6de9710b24
staging: lustre: delete linux-lock.h
...
It was a few empty defines, so just remove the thing.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:28:12 -07:00
Greg Kroah-Hartman
ebf7b77818
staging: lustre: linux-cpu.h
...
Remove large commented out section for compatibility stuff that will
never be needed again.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:20:31 -07:00
Greg Kroah-Hartman
d2bc118d0b
staging: lustre: remove include/libcfs/linux/linux-bitops.h
...
It was just includeing bitops.h so do that instead in the one place that
was calling it.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:15:15 -07:00
Greg Kroah-Hartman
13636be4b6
staging: lustre: make include/linux/libcfs/linux/linux-crypto.h private
...
There are only 2 functions that are actually called from it, so move it
to the local place where it is needed, no need for it to be "global" for
the rest of lustre to see it.
Also remove the unneeded EXPORT_SYMBOL() markings for these functions,
as no one else calls them.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:12:04 -07:00
Greg Kroah-Hartman
30f38472f7
staging: lustre: remove unneeded DECLARE_LL_PROC_PPOS_DECL macro
...
It did nothing, so remove it.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 23:05:14 -07:00
Greg Kroah-Hartman
e4265658ce
staging: lustre: remove l_filep_open define
...
Just call filep_open(), no need to rename the thing.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:57:40 -07:00
Greg Kroah-Hartman
1668b82116
staging: lustre: remove l_file define
...
It's a "file" structure, so use it instead of trying to rename it.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:56:16 -07:00
Greg Kroah-Hartman
178b690132
staging: lustre: remove l_dentry define
...
It's a 'dentry', so use it instead of something else.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:53:32 -07:00
Greg Kroah-Hartman
ee9c1c1637
staging: lustre: remove empty bitmap.h
...
The file was empty, remove it as it wasn't doing anything.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:50:23 -07:00
Greg Kroah-Hartman
a393fd545f
staging: lustre: libcfs: include: minor whitespace fixes
...
Found by the checkpatch.pl tool
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:47:02 -07:00
Greg Kroah-Hartman
681fc80725
staging: lustre: lnet: include: minor whitespace fixes
...
Found by the checkpatch.pl tool
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:40:51 -07:00
Greg Kroah-Hartman
b78560200d
staging: lustre: ptlrpc: gss: delete unused code
...
The gss code has never been built, there is no Kconfig option for it, so
delete it as code that can not build goes bad really fast.
If someone wants it back, they can revert this and fix any build errors
that might be in it.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:30:54 -07:00
Greg Kroah-Hartman
e27db14919
staging: lustre: ptlrpc/ldlm: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:29:36 -07:00
Greg Kroah-Hartman
7f2d973a7c
staging: lustre: obdecho: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:17:53 -07:00
Greg Kroah-Hartman
3ee3001538
staging: lustre: osc: remove ccflags from Makefile
...
Fix up the relative paths in the .c files to properly build with the
Makefile change.
Cc: Andreas Dilger <andreas.dilger@intel.com >
Cc: Oleg Drokin <oleg.drokin@intel.com >
Cc: hpdd-discuss <hpdd-discuss@lists.01.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-07-11 22:16:18 -07:00