staging/wlan-ng: fix small coding style issues

Delete some unneeded blank lines and add few ones to make checkpatch.pl
happy.

Signed-off-by: Denis Pithon <denis.pithon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Denis Pithon 2014-04-01 18:43:19 +02:00 коммит произвёл Greg Kroah-Hartman
Родитель 9864f111a6
Коммит 58612c608f
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -96,7 +96,8 @@ static int prism2sta_probe_usb(struct usb_interface *interface,
prism2_reset_settletime, 0); prism2_reset_settletime, 0);
if (result != 0) { if (result != 0) {
result = -EIO; result = -EIO;
dev_err(&interface->dev, "hfa384x_corereset() failed.\n"); dev_err(&interface->dev,
"hfa384x_corereset() failed.\n");
goto failed_reset; goto failed_reset;
} }
} }
@ -136,7 +137,6 @@ static void prism2sta_disconnect_usb(struct usb_interface *interface)
wlandevice_t *wlandev; wlandevice_t *wlandev;
wlandev = (wlandevice_t *) usb_get_intfdata(interface); wlandev = (wlandevice_t *) usb_get_intfdata(interface);
if (wlandev != NULL) { if (wlandev != NULL) {
LIST_HEAD(cleanlist); LIST_HEAD(cleanlist);
struct list_head *entry; struct list_head *entry;
@ -228,6 +228,7 @@ static int prism2sta_suspend(struct usb_interface *interface,
{ {
hfa384x_t *hw = NULL; hfa384x_t *hw = NULL;
wlandevice_t *wlandev; wlandevice_t *wlandev;
wlandev = (wlandevice_t *) usb_get_intfdata(interface); wlandev = (wlandevice_t *) usb_get_intfdata(interface);
if (!wlandev) if (!wlandev)
return -ENODEV; return -ENODEV;
@ -250,6 +251,7 @@ static int prism2sta_resume(struct usb_interface *interface)
int result = 0; int result = 0;
hfa384x_t *hw = NULL; hfa384x_t *hw = NULL;
wlandevice_t *wlandev; wlandevice_t *wlandev;
wlandev = (wlandevice_t *) usb_get_intfdata(interface); wlandev = (wlandevice_t *) usb_get_intfdata(interface);
if (!wlandev) if (!wlandev)
return -ENODEV; return -ENODEV;