Skip to contentSkip to conversation

staging/wlan-ng fix small coding style issue

PATCH Superseded Denis Pithon 2 participants 2 messages Mar 31, 2014 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging/wlan-ng fix small coding style issue

---
 drivers/staging/wlan-ng/prism2usb.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/staging/wlan-ng/prism2usb.c +2 -0
index 4739c14..ccb2c2e 100644
@@ -293,6 +293,7 @@ static int prism2sta_suspend(struct usb_interface *interface,
 	hfa384x_t *hw = NULL;
 	wlandevice_t *wlandev;
 	wlandev = (wlandevice_t *) usb_get_intfdata(interface);
+
 	if (!wlandev)
 		return -ENODEV;
 
@@ -315,6 +316,7 @@ static int prism2sta_resume(struct usb_interface *interface)
 	hfa384x_t *hw = NULL;
 	wlandevice_t *wlandev;
 	wlandev = (wlandevice_t *) usb_get_intfdata(interface);
+
 	if (!wlandev)
 		return -ENODEV;
 
Signature · 1 line
1.9.0
#1 lore raw
Quoted 1 line · Denis Pithon

Changeglog sucks. It doesn't even exist, actually. What coding style issue did you fix?

Quoted 9 lines
---
 drivers/staging/wlan-ng/prism2usb.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/staging/wlan-ng/prism2usb.c +0 -0
index 4739c14..ccb2c2e 100644

drivers/staging/wlan-ng/prism2usb.c static int prism2sta_suspend(struct usb_interface *interface, · line 298

Quoted 6 lines
drivers/staging/wlan-ng/prism2usb.c +1 -0
@@ -293,6 +293,7 @@ static int prism2sta_suspend(struct usb_interface *interface,
 	hfa384x_t *hw = NULL;
 	wlandevice_t *wlandev;
 	wlandev = (wlandevice_t *) usb_get_intfdata(interface);
+
 	if (!wlandev)
 		return -ENODEV;

The blank line should go be one line earlier.

	wlandevice_t *wlandev;
	[blank]
	wlandev = (wlandevice_t *) usb_get_intfdata(interface);

drivers/staging/wlan-ng/prism2usb.c static int prism2sta_resume(struct usb_interface *interface) · line 319

Quoted 6 lines
drivers/staging/wlan-ng/prism2usb.c +1 -0
@@ -315,6 +316,7 @@ static int prism2sta_resume(struct usb_interface *interface)
 	hfa384x_t *hw = NULL;
 	wlandevice_t *wlandev;
 	wlandev = (wlandevice_t *) usb_get_intfdata(interface);
+

Same.

drivers/staging/wlan-ng/prism2usb.c static int prism2sta_resume(struct usb_interface *interface) · line 321

Quoted 2 lines
drivers/staging/wlan-ng/prism2usb.c +0 -0
 	if (!wlandev)
 		return -ENODEV;

regards,
dan carpenter