mirror of https://gitee.com/openkylin/linux.git
Staging: rt2860: fix usb_main_dev.c style errors
Correct several style errors related to pointers in usb_main_dev.c. Signed-off-by: Trey Evans <lewis.r.evans@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
5d9ffae082
commit
a3327f0798
|
@ -153,7 +153,7 @@ static void rt2870_disconnect(struct usb_device *dev, struct rt_rtmp_adapter *pA
|
||||||
static int __devinit rt2870_probe(IN struct usb_interface *intf,
|
static int __devinit rt2870_probe(IN struct usb_interface *intf,
|
||||||
IN struct usb_device *usb_dev,
|
IN struct usb_device *usb_dev,
|
||||||
IN const struct usb_device_id *dev_id,
|
IN const struct usb_device_id *dev_id,
|
||||||
struct rt_rtmp_adapter ** ppAd);
|
struct rt_rtmp_adapter **ppAd);
|
||||||
|
|
||||||
#ifndef PF_NOFREEZE
|
#ifndef PF_NOFREEZE
|
||||||
#define PF_NOFREEZE 0
|
#define PF_NOFREEZE 0
|
||||||
|
@ -801,7 +801,7 @@ static void rt2870_disconnect(struct usb_device *dev, struct rt_rtmp_adapter *pA
|
||||||
static int __devinit rt2870_probe(IN struct usb_interface *intf,
|
static int __devinit rt2870_probe(IN struct usb_interface *intf,
|
||||||
IN struct usb_device *usb_dev,
|
IN struct usb_device *usb_dev,
|
||||||
IN const struct usb_device_id *dev_id,
|
IN const struct usb_device_id *dev_id,
|
||||||
struct rt_rtmp_adapter ** ppAd)
|
struct rt_rtmp_adapter **ppAd)
|
||||||
{
|
{
|
||||||
struct net_device *net_dev = NULL;
|
struct net_device *net_dev = NULL;
|
||||||
struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)NULL;
|
struct rt_rtmp_adapter *pAd = (struct rt_rtmp_adapter *)NULL;
|
||||||
|
|
Loading…
Reference in New Issue