navin patidar
5aaa47f36f
staging: rtl8188eu: Remove unused function nat25_handle_frame()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:04 -07:00
navin patidar
8843d7a4bc
staging: rtl8188eu: Remove bCardDisableWOHSM from struct adapter
...
driver doesn't use value stored in bCardDisableWOHSM.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:04 -07:00
navin patidar
f3dd77bc44
staging: rtl8188eu: Remove pbuddy_adapter from struct adapter
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
24e0bf42ec
staging: rtl8188eu:Remove EepromAddressSize from struct adapter
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
525c688039
staging: rtl8188eu: Remove unused member variable of struct adapter
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
51b19bca51
staging: rtl8188eu: Remove hal_data_sz from struct adapter
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
b95cb41596
staging: rtl8188eu: Remove unused function rtl8188e_clone_haldata()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
84c2a1e374
staging: rtl8188eu: Remove DriverState from struct adapter
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
451f8742a2
staging: rtl8188eu: Remove enum driver_state
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
b1f4e0ae99
staging: rtl8188eu: Remove unused enum _IFACE_TYPE
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
ac674ad89e
staging: rtl8188eu: Remove unused enum _ADAPTER_TYPE
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
9864d792ad
staging: rtl8188eu: Remove usb_alloc_vendor_req_buf from struct dvobj_priv
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
cf14b08083
staging: rtl8188eu: Remove usb_suspend_sema from struct dvobj_priv
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
5b485232e6
staging: rtl8188eu: Remove unused members of struct dvobj_priv
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
4ff3c250cb
staging: rtl8188eu: Remove unused enum
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:03 -07:00
navin patidar
701accdc48
staging: rtl8188eu: Remove unused stucture defination struct specific_device_id
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:02 -07:00
navin patidar
5e2b1f1514
staging: rtl8188eu: Remove function declarations in usb_intf.c
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:02 -07:00
navin patidar
774cce1ebc
staging: rtl8188eu: Use module_usb_driver() macro
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:02 -07:00
navin patidar
591207d9bf
staging: rtl8188eu: Remove struct rtw_usb_drv
...
struct rtw_usb_drv contains only one member usb_driver structure,
so no use of keeping it.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:02 -07:00
navin patidar
7922fd1a5c
staging : rtl8188eu: Remove drv_registered from struct rtw_usb_drv
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:02 -07:00
navin patidar
c824795caf
staging: rtl8188eu: Use unregistering flag from struct usb_interface
...
Use unregistering flag from struct usb_interface to find
driver registration status.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:02 -07:00
navin patidar
fc8b5ae9aa
staging: rtl8188eu: Remove hw_init_mutex from struct rtw_usb_drv
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:02 -07:00
navin patidar
fdc9537474
staging: rtl8188eu: Remove header file rtw_version.h
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:02 -07:00
navin patidar
91d1662438
staging :rtl8188eu: Remove HalPhyRf.[h|c] files.
...
Move ODM_GetRightChnlPlaceforIQK() from HalPhyRf.c to HalPhyRf_8188e.c.
Move ODM_TARGET_CHNL_NUM_2G_5G from HalPhyRf.h to HalPhyRf_8188e.h.
After the movement of function and macro HalPhyRf.[h|c] files are redundant.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:02 -07:00
navin patidar
06bfa97eb7
staging: rtl8188eu: Remove function with empty defination ODM_ResetIQKResult()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:30:02 -07:00
navin patidar
109709e142
staging: rtl8188eu: Remove usb_vendor_req.h header file
...
driver doesn't need usb_vendor_req.h.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:50 -07:00
navin patidar
5fd702b2ea
staging: rtl8188eu: Remove unused function declaration
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:50 -07:00
navin patidar
52519d3085
staging: rtl8188eu: Remove Hal8188EReg.h file
...
Driver doesn't need Hal8188EReg.h file.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:50 -07:00
navin patidar
a4027847f6
staging: rtl8188eu: Remove "last_tx_complete_time" from struct sreset_priv
...
value stored in variable last_tx_complete_time isn't being used
by driver.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:50 -07:00
navin patidar
5ceabcb2af
staging: rtl8188eu: Remove "last_tx_time" from struct sreset_priv
...
value stored in variable last_tx_time isn't being used
by driver.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:50 -07:00
navin patidar
a70e403446
staging: rtl8188eu: Remove empty files rtl8188e_sreset.[c|h]
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:50 -07:00
navin patidar
5365edb331
staging: rtl8188eu: Remove function rtl8188e_silentreset_for_specific_platform()
...
Remove rtl8188e_silentreset_for_specific_platform() and function pointer
->silentreset pointing to it.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
navin patidar
b9e91a578b
staging: rtl8188eu: Remove function rtw_hal_sreset_reset()
...
rtw_hal_sreset_reset() is a wrapper to call
rtl8188e_silentreset_for_specific_platform(), which has empty defination.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
navin patidar
d5156e2aae
staging:rtl8188eu: Remove function rtl8188e_sreset_linked_status_check()
...
Remove rtl8188e_sreset_linked_status_check() and function pointer
->sreset_linked_status_check pointing to it.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
navin patidar
5019fd1b59
staging:rtl8188eu: Remove function rtw_hal_sreset_linked_status_check()
...
rtw_hal_sreset_linked_status_check() is a wrapper to call
rtl8188e_sreset_linked_status_check(), which doesn't do anything
useful.
rtl8188e_sreset_linked_status_check() will also be removed later.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
navin patidar
e654a532b4
staging: rtl8188eu: Remove unused function rtl8188e_sreset_xmit_status_check()
...
Remove rtl8188e_sreset_xmit_status_check() and function pointer
->sreset_xmit_status_check pointing to it.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
navin patidar
0d9c69b747
staging: rtl8188eu: Remove function rtw_hal_sreset_xmit_status_check()
...
rtw_hal_sreset_xmit_status_check() is a wrapper to call
rtl8188e_sreset_xmit_status_check(), which calls
rtl8188e_silentreset_for_specific_platform() in case of transmission has
stopped to do a silent reset and restore the transmission but
rtl8188e_silentreset_for_specific_platform() has empty defination,
so we can remove rtw_hal_sreset_xmit_status_check() because it doesn't
serve its purpose.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
navin patidar
f23a80273b
staging: rtl8188eu: Remove unused function reset_reset_value()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
navin patidar
41dcb4f1db
staging: rtl8188eu: Remove unused function pointer ->sreset_reset_value
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
navin patidar
5712f087fa
staging: rtl8188eu: Remove unused function rtw_hal_sreset_reset_value()
...
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
navin patidar
6c91183409
staging: rtl8188eu: Use rtw_hal_sreset_init() in rtw_reset_drv_sw()
...
We can replace rtw_hal_sreset_reset_value() with rtw_hal_sreset_init() because
both function call sreset_reset_value() and sreset_init_value() respectively at
the end of code path, and function defination of sreset_reset_value() and
sreset_init_value() is identical.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
navin patidar
b6d89f2fc3
staging: rtl8188eu:Remove "silent_reset_inprogress" from struct sreset_priv
...
psrtpriv->silent_reset_inprogress is always false.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
navin patidar
d6158c2cea
staging: rtl8188eu: Remove "silentreset_mutex" from struct sreset_priv
...
silentreset_mutex initialized but not being used.
Signed-off-by: navin patidar <navin.patidar@gmail.com >
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:28:49 -07:00
Fengguang Wu
ed8d4a84a3
staging: r8192ee: fix coccinelle warnings
...
drivers/staging/rtl8192ee/btcoexist/halbtc8821a2ant.c:2491:3-4: Unneeded semicolon
Removes unneeded semicolon.
Generated by: /kbuild/src/linux/scripts/coccinelle/misc/semicolon.cocci
CC: Larry Finger <Larry.Finger@lwfinger.net >
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:26:36 -07:00
Nicolas Koch
883d29e0a6
Staging: octeon: minor style cleanups
...
Done as task 10 of the eudyptula challenge.
Signed-off-by: Nicolas Koch <nioko1337@googlemail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:24:52 -07:00
David Daney
ec3a2207c3
staging: octeon-ethernet: Move PHY activation to .ndo_open().
...
This prevents PHY not found types of errors for PHY drivers that are
probed after the Ethernet driver is probed, because the ifconfig UP is
done from userspace after all drivers have been probed.
Also avoid the cvmx-helper-board.c PHY code if a real PHY driver is
present, this allows a bootloader supplied device tree to specify the
PHY information rather than having to modify the code for each
different board.
Tested-by: Alex Smith <alex.smith@imgtec.com >
Signed-off-by: David Daney <david.daney@cavium.com >
Signed-off-by: Alex Smith <alex.smith@imgtec.com >
Cc: devel@driverdev.osuosl.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:24:52 -07:00
Daeseok Youn
91177d53a3
staging: dgap: unwind on error in dgap_init_one()
...
The dgap_init_one() needs to handle error properly
if one of functions in dgap_init_one() is failed.
Introduce some functions for handling error in dgap_init_one()
- dgap_tty_unregister() : unregister tty driver
- dgap_free_flipbuf() : free flip buffer
- dgap_release_remap() : release memory region and unmapped memory.
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:23:32 -07:00
Daeseok Youn
3c3befef8f
staging: dgap: move unrelated functions in dgap_firmware_load()
...
The dgap_firmware_load() has a lot of stuff which are
unrelated with loading firmware.
So just moved to dgap_init_one().
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:23:32 -07:00
Daeseok Youn
3f7fa94b68
staging: dgap: rename dgap_after_config_loaded() to dgap_alloc_flipbuf()
...
dgap_after_config_loaded() as function name doesn't tell
what it does.
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:23:32 -07:00
Daeseok Youn
78a7966ec8
staging: dgap: introduce dgap_free_irq()
...
dgap_free_irq() will free the irq which is requested in
dgap_request_irq().
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-19 15:23:32 -07:00