mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: navin patidar <navin.patidar@gmail.com>
To: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	navin patidar <navin.patidar@gmail.com>
Subject: [PATCH 18/18] staging: rtl8188eu: Remove usb_vendor_req.h header file
Date: Thu, 29 May 2014 23:20:58 +0530	[thread overview]
Message-ID: <1401385858-28722-18-git-send-email-navin.patidar@gmail.com> (raw)
In-Reply-To: <1401385858-28722-1-git-send-email-navin.patidar@gmail.com>

driver doesn't need usb_vendor_req.h.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/include/usb_osintf.h     |    1 -
 drivers/staging/rtl8188eu/include/usb_vendor_req.h |   52 --------------------
 drivers/staging/rtl8188eu/os_dep/usb_intf.c        |    1 -
 3 files changed, 54 deletions(-)
 delete mode 100644 drivers/staging/rtl8188eu/include/usb_vendor_req.h

diff --git a/drivers/staging/rtl8188eu/include/usb_osintf.h b/drivers/staging/rtl8188eu/include/usb_osintf.h
index 2dce3bf..292ded7 100644
--- a/drivers/staging/rtl8188eu/include/usb_osintf.h
+++ b/drivers/staging/rtl8188eu/include/usb_osintf.h
@@ -22,7 +22,6 @@
 
 #include <osdep_service.h>
 #include <drv_types.h>
-#include <usb_vendor_req.h>
 
 extern char *rtw_initmac;
 extern int rtw_mc2u_disable;
diff --git a/drivers/staging/rtl8188eu/include/usb_vendor_req.h b/drivers/staging/rtl8188eu/include/usb_vendor_req.h
deleted file mode 100644
index 7f26c8f..0000000
--- a/drivers/staging/rtl8188eu/include/usb_vendor_req.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/******************************************************************************
- *
- * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
- *
- *
- ******************************************************************************/
-#ifndef _USB_VENDOR_REQUEST_H_
-#define _USB_VENDOR_REQUEST_H_
-
-/* 4	Set/Get Register related wIndex/Data */
-#define	RT_USB_RESET_MASK_OFF		0
-#define	RT_USB_RESET_MASK_ON		1
-#define	RT_USB_SLEEP_MASK_OFF		0
-#define	RT_USB_SLEEP_MASK_ON		1
-#define	RT_USB_LDO_ON				1
-#define	RT_USB_LDO_OFF				0
-
-/* 4	Set/Get SYSCLK related	wValue or Data */
-#define	RT_USB_SYSCLK_32KHZ		0
-#define	RT_USB_SYSCLK_40MHZ		1
-#define	RT_USB_SYSCLK_60MHZ		2
-
-
-enum bt_usb_request {
-	RT_USB_SET_REGISTER		= 1,
-	RT_USB_SET_SYSCLK		= 2,
-	RT_USB_GET_SYSCLK		= 3,
-	RT_USB_GET_REGISTER		= 4
-};
-
-enum rt_usb_wvalue {
-	RT_USB_RESET_MASK	=	1,
-	RT_USB_SLEEP_MASK	=	2,
-	RT_USB_USB_HRCPWM	=	3,
-	RT_USB_LDO			=	4,
-	RT_USB_BOOT_TYPE	=	5
-};
-
-#endif
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
index 7526b98..05dce99 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c
@@ -29,7 +29,6 @@
 #include <linux/vmalloc.h>
 #include <osdep_intf.h>
 
-#include <usb_vendor_req.h>
 #include <usb_ops.h>
 #include <usb_osintf.h>
 #include <usb_hal.h>
-- 
1.7.10.4


  parent reply	other threads:[~2014-05-29 17:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-29 17:50 [PATCH 01/18] staging: rtl8188eu: Remove "silentreset_mutex" from struct sreset_priv navin patidar
2014-05-29 17:50 ` [PATCH 02/18] staging: rtl8188eu:Remove "silent_reset_inprogress" " navin patidar
2014-05-29 17:50 ` [PATCH 03/18] staging: rtl8188eu: Use rtw_hal_sreset_init() in rtw_reset_drv_sw() navin patidar
2014-05-29 17:50 ` [PATCH 04/18] staging: rtl8188eu: Remove unused function rtw_hal_sreset_reset_value() navin patidar
2014-05-29 17:50 ` [PATCH 05/18] staging: rtl8188eu: Remove unused function pointer ->sreset_reset_value navin patidar
2014-05-29 17:50 ` [PATCH 06/18] staging: rtl8188eu: Remove unused function reset_reset_value() navin patidar
2014-05-29 17:50 ` [PATCH 07/18] staging: rtl8188eu: Remove function rtw_hal_sreset_xmit_status_check() navin patidar
2014-05-29 17:50 ` [PATCH 08/18] staging: rtl8188eu: Remove unused function rtl8188e_sreset_xmit_status_check() navin patidar
2014-05-29 17:50 ` [PATCH 09/18] staging:rtl8188eu: Remove function rtw_hal_sreset_linked_status_check() navin patidar
2014-05-29 17:50 ` [PATCH 10/18] staging:rtl8188eu: Remove function rtl8188e_sreset_linked_status_check() navin patidar
2014-05-29 17:50 ` [PATCH 11/18] staging: rtl8188eu: Remove function rtw_hal_sreset_reset() navin patidar
2014-05-29 17:50 ` [PATCH 12/18] staging: rtl8188eu: Remove function rtl8188e_silentreset_for_specific_platform() navin patidar
2014-05-29 17:50 ` [PATCH 13/18] staging: rtl8188eu: Remove empty files rtl8188e_sreset.[c|h] navin patidar
2014-05-29 17:50 ` [PATCH 14/18] staging: rtl8188eu: Remove "last_tx_time" from struct sreset_priv navin patidar
2014-05-29 17:50 ` [PATCH 15/18] staging: rtl8188eu: Remove "last_tx_complete_time" " navin patidar
2014-05-29 17:50 ` [PATCH 16/18] staging: rtl8188eu: Remove Hal8188EReg.h file navin patidar
2014-05-29 17:50 ` [PATCH 17/18] staging: rtl8188eu: Remove unused function declaration navin patidar
2014-05-29 17:50 ` navin patidar [this message]
2014-05-29 21:48 ` [PATCH 01/18] staging: rtl8188eu: Remove "silentreset_mutex" from struct sreset_priv Dan Carpenter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1401385858-28722-18-git-send-email-navin.patidar@gmail.com \
    --to=navin.patidar@gmail.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®